summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6502make.py
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-10-12 01:04:41 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-10-12 01:04:41 -0400
commit05b34cda1977850cd90c4f34a1c3455ef7d4b8d0 (patch)
treea43e15269a2ea83adcd149497c2be972cb929fb9 /src/devices/cpu/m6502/m6502make.py
parenta17445b01d6f9666efb7817b08d6d5d3a239f202 (diff)
xavix: Do for RETF what ada4b54d611375f6a072f94b20fb360093c35e69 did for CALLF (nw)
unidasm: Konami CPU is big-endian (nw)
Diffstat (limited to 'src/devices/cpu/m6502/m6502make.py')
-rwxr-xr-xsrc/devices/cpu/m6502/m6502make.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6502/m6502make.py b/src/devices/cpu/m6502/m6502make.py
index 80a8603f098..ea51fe43350 100755
--- a/src/devices/cpu/m6502/m6502make.py
+++ b/src/devices/cpu/m6502/m6502make.py
@@ -229,7 +229,7 @@ def save_dasm(f, device, states):
extra = "0"
if opc in ["jsr", "bsr", "callf"]:
extra = "STEP_OVER"
- elif opc in ["rts", "rti", "rtn"]:
+ 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)