Re:SUBLEQ and DawnOS (2017)
by tromp on Monday April 12, 2021 @04:18AM
(#26777072)
Unfortunately, this article manages to get the single example execution entirely wrong.
> We begin by subtracting 7 from 7 (the locations of A and B), and will store the result (0) in location B.
Here the example gets confused as it shows the 0 result stored not in location B (address 4) but in the middle of the executing instruction (address 1).
This mistake is then repeated for the next instruction.
> We begin by subtracting 7 from 7 (the locations of A and B), and will store the result (0) in location B.
Here the example gets confused as it shows the 0 result stored not in location B (address 4) but in the middle of the executing instruction (address 1). This mistake is then repeated for the next instruction.