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 (3)

  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.