logoalt Hacker News

fluoridationtoday at 12:56 AM1 replyview on HN

It's not an implementation detail, because the decoder runs before the execution of every instruction. If we're going to say that NOP increments IP by one, then we should also say that ADD "stores in dst the addition of src and dst, as well as incrementing IP by the length of the instruction", and JMP imm "increments JMP by imm + the length of the instruction".


Replies

loegtoday at 2:05 AM

ADD does in fact do that.

show 1 reply