Commit 086afbd2985c121280df62b9d9f47e8a6ac4a564
authorbsekisser <squirmyworms@embarqmail.com>
Mon, 24 Feb 2014 00:26:01 +0000 (19:26 -0500)
committerbsekisser <squirmyworms@embarqmail.com>
Mon, 24 Feb 2014 00:26:01 +0000 (19:26 -0500)
treedf861e1ecb04d938633c41a5e2a03993ed7277e3
parent29bcde7ad8ee7b1ae4595f85fdfb03065f433089
Message:
sim_core: correction to ld {rXYZ}

User supplied test seems to indicate that the avr writes data to
 the destination register AFTER updating the index register.
  whereas the core originally read the index register and
  immediately stored the result into the register and then wrote
  back the index register.

If the code used: LD XH, X test indicated XH would return the
 value loaded from the indirect load operation versus the updated
 XH:XL value as the core originally assumed.

modified:   sim/sim_core.c
simavr/sim/sim_core.c