avatar
Jack Aidley @jackaidley.bsky.social

And you need to return from the subroutine function with 'E 12 F' (because you want to skip before the accumulator and the jump instruction you return to the stored value + 2), which is '00011 0 0000001100 0'. Location 3 is used to store the difference between these two values which is always...

aug 25, 2025, 10:57 am • 1 0

Replies

avatar
Jack Aidley @jackaidley.bsky.social

... the same 'U 2 F' (00111 0 00000 00010 0). Add this to 'A 10 F' and you get 'E 12 F' -- which, looking at it now, I think only works because of arithmetic overflow.

aug 25, 2025, 10:57 am • 1 0 • view