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.lst6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/m6502/om6502.lst b/src/devices/cpu/m6502/om6502.lst
index e831388a93a..fd4a85dbf9c 100644
--- a/src/devices/cpu/m6502/om6502.lst
+++ b/src/devices/cpu/m6502/om6502.lst
@@ -1218,9 +1218,9 @@ tya_imp
# exceptions
reset
- read_arg(SP); SP = 0x1ff;
- read_arg(SP); SP--;
- read_arg(SP); SP--;
+ read(SP); dec_SP();
+ read(SP); dec_SP();
+ read(SP); dec_SP();
P |= F_I; PC = read_arg(0xfffc);
PC = set_h(PC, read_arg(0xfffd));
prefetch();