summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/devices/cpu/m6502/om6502.lst2
-rw-r--r--src/devices/cpu/m6502/om65c02.lst6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/devices/cpu/m6502/om6502.lst b/src/devices/cpu/m6502/om6502.lst
index fd4a85dbf9c..d34e63c1d81 100644
--- a/src/devices/cpu/m6502/om6502.lst
+++ b/src/devices/cpu/m6502/om6502.lst
@@ -1218,6 +1218,8 @@ tya_imp
# exceptions
reset
+ read_pc_noinc();
+ read_pc_noinc();
read(SP); dec_SP();
read(SP); dec_SP();
read(SP); dec_SP();
diff --git a/src/devices/cpu/m6502/om65c02.lst b/src/devices/cpu/m6502/om65c02.lst
index dafeaec648e..b15133e3441 100644
--- a/src/devices/cpu/m6502/om65c02.lst
+++ b/src/devices/cpu/m6502/om65c02.lst
@@ -765,6 +765,12 @@ wai_imp
# exceptions
reset_c
+ read_pc_noinc();
+ read(0xffff);
+ read_pc_noinc();
+ read(SP); dec_SP();
+ read(SP); dec_SP();
+ read(SP); dec_SP();
P = (P | F_I) & ~F_D;
PC = read_arg(0xfffc);
PC = set_h(PC, read_arg(0xfffd));