Re:DCPU-16 implementation in f#
by MarkSweep on Friday April 06, 2012 @04:42PM
(#3808834)
The PC needs to be incremented past the "next words". But it seems odd that a un-executed push instruction would still modify SP.
[ Parent
| on HN ]
This is true - I actually miss-read your comment and thought you said instruction pointer instead of stack pointer... It seems to be a bug in the implementation (from my reading of the spec, this should not happen).