summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/om6502.lst
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/om6502.lst')
-rw-r--r--src/devices/cpu/m6502/om6502.lst3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/m6502/om6502.lst b/src/devices/cpu/m6502/om6502.lst
index e9b8520c490..e831388a93a 100644
--- a/src/devices/cpu/m6502/om6502.lst
+++ b/src/devices/cpu/m6502/om6502.lst
@@ -1218,6 +1218,9 @@ tya_imp
# exceptions
reset
+ read_arg(SP); SP = 0x1ff;
+ read_arg(SP); SP--;
+ read_arg(SP); SP--;
P |= F_I; PC = read_arg(0xfffc);
PC = set_h(PC, read_arg(0xfffd));
prefetch();