Fix error with CJNE instruction
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 7 Sep 2013 22:10:27 +0000 (18:10 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Sun, 8 Sep 2013 22:54:52 +0000 (18:54 -0400)
commit67a0a710e077d824e90681614e867d0b78e26520
tree193cb46dacb53753ac281e8f284bc180f57be573
parent7121e7929df83dae68f66d3ee1dcdbb5231760f3
Fix error with CJNE instruction

When the comparison was true, the PC was advanced by 2 instead of 3 bytes.

Error reported and fixed by Tobias Diedrich (ranma at tdiedrich.de).
src/opcode2c.pl