dangermccann/dcpu16-ide — pull request #2 by a1k0n (2012-06-11 02:32:09+00:00)
Title: Fix STI/STD instructions; only b is set, not a.

In the following program:

set j, 0x8000
set b, 0x9000
sti [j], b
sti [j], b

After the first STI, b is incorrectly set to 0. I and J are correctly incremented though. This is a proposed fix for that, which I haven't built or tested myself.