Commit 0fbfaac3e606728c816dd56fbb8a19201619190c
authorbsekisser <squirmyworms@embarqmail.com>
Sun, 13 Oct 2013 15:26:17 +0000 (11:26 -0400)
committerbsekisser <squirmyworms@embarqmail.com>
Sun, 13 Oct 2013 15:26:17 +0000 (11:26 -0400)
tree7e811270e38e0ab38063d1a85e7b337c2873da86
parent2c407d6d22473809a431a55b1c6877015c3c9814
Message:
sim_core.c: fix implimentation of inc/dec to match specification

the avr instruction manual states that overflow be set _before_ the operation takes place, however the core tests based on the result.  values checked adjusted accordingly.

bug find credit goes to: Shay Green <gblargg@gmail.com>
simavr/sim/sim_core.c