Menu

#584 z80 simulator worng

closed-fixed
z80 port (189)
5
2013-05-25
2003-09-13
No

On ucsim-z80 simulator,
jp [IX]
jump to the address which was loaded from memory of
address IX, not just load IX to PC.

SDCC :
mcs51/gbz80/z80/avr/ds390/pic14/pic16/TININative/xa51
/ds400 2.3.5 (Aug 18 2003) (UNIX)

cvspserver server: Diffing .
Index: inst_xd.cc
==========================================
=========================
RCS
file: /cvsroot/sdcc/sdcc/sim/ucsim/z80.src/inst_xd.cc,v
retrieving revision 1.2
diff -r1.2 inst_xd.cc
525c525,526
< PC = get2(regs_IX_OR_IY);
---
> PC = regs_IX_OR_IY;

Discussion

  • Erik Petrich

    Erik Petrich - 2003-09-14
    • milestone: --> fixed
    • assigned_to: nobody --> epetrich
    • status: open --> closed-fixed
     
  • Erik Petrich

    Erik Petrich - 2003-09-14

    Logged In: YES
    user_id=635249

    Fixed in /sim/ucsim/z80.src/inst_xd.cc 1.3
    Thanks for the patch.

     

Log in to post a comment.