summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6502make.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m6502make.py')
-rwxr-xr-xsrc/devices/cpu/m6502/m6502make.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/m6502/m6502make.py b/src/devices/cpu/m6502/m6502make.py
index b874b7c5ba9..ea51fe43350 100755
--- a/src/devices/cpu/m6502/m6502make.py
+++ b/src/devices/cpu/m6502/m6502make.py
@@ -227,9 +227,9 @@ def save_dasm(f, device, states):
opc = tokens[0]
mode = tokens[-1]
extra = "0"
- if opc in ["jsr", "bsr"]:
- extra = "STEP_OVER"
- elif opc in ["rts", "rti", "rtn"]:
+ if opc in ["jsr", "bsr", "callf"]:
+ extra = "STEP_OVER"
+ elif opc in ["rts", "rti", "rtn", "retf"]:
extra = "STEP_OUT"
emit(f, '\t{ "%s", DASM_%s, %s },' % (opc, mode, extra))
emit(f, DISASM_EPILOG % d)