An unofficial, read-only Hacker News reader.

Per Arm's request, this site will be discontinued on 4 December 2026 :( (opens external site)

1184 points by tech234a 5 days ago | arm.jonpalmisc.com | 297 comments on HN

View full thread · View on Hacker News

Comment thread (5)

  1. You can express the information in a different way. I'll do one, Add with carry

    Arm: "This instruction adds two register values and the Carry flag value, and writes the result to the destination register."

    My version: "The destination register is set to the sum of the two source registers plus the carry flag.

    Note that this instruction does not update the condition flags, see ADCS."

    Replies (1)
    1. Theirs implies two steps and one addition, yours implies two additions and a single step. Subtle difference. That's why I don't think it's completely insane to say that changing instruction descriptions is not possible. If you want to document what ARM's processors do, you'd better either have original research (copyright law is not sweat-of-the-brow and cannot force you to do this) or copy exactly how they are telling you their processors work.

      If it's your own processor that just happens to be ARM-compatible then you don't have this claim. AMD and Intel aren't allowed to copy each other's manuals to reuse for their own processors.

      And all the other stuff like prefaces would still be copyrightable.

      Replies (1)
      1. According to the pseudocode in the docs, it's two additions in a single step, so I've improved it.

        But fine, just add an additional sentence as appropriate: "The sum is conducted with two additions in a single step." or "The carry flag is added in a separate step."

        Replies (1)
        1. You and I know the result of the instruction is going to be the same either way. Probably. Perhaps there will be some corner case where the exact wording matters, perhaps (very low chance) it will be relevant to an engineering malpractice lawsuit in the future. You don't want to introduce subtle changes. If you're making a new processor you write down what it does but ARM is the only authority on what their processors do.
          Replies (1)
          1. > engineering malpractice lawsuit

            Things like this make it seem like you’re building a position by having familiarity on the technical side and trying to intuit how the legal side works.