summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-10-10 22:03:53 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-10-10 22:03:53 -0400
commitada4b54d611375f6a072f94b20fb360093c35e69 (patch)
tree4cc7e0fe4c4a0fff6b72b62673940c8440678753
parent73cc34252959ffb4df10f7896299919d16ba584d (diff)
xavix: Allow debugger to step over CALLF instruction
-rwxr-xr-xsrc/devices/cpu/m6502/m6502make.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/m6502/m6502make.py b/src/devices/cpu/m6502/m6502make.py
index b874b7c5ba9..80a8603f098 100755
--- a/src/devices/cpu/m6502/m6502make.py
+++ b/src/devices/cpu/m6502/m6502make.py
@@ -227,8 +227,8 @@ def save_dasm(f, device, states):
opc = tokens[0]
mode = tokens[-1]
extra = "0"
- if opc in ["jsr", "bsr"]:
- extra = "STEP_OVER"
+ if opc in ["jsr", "bsr", "callf"]:
+ extra = "STEP_OVER"
elif opc in ["rts", "rti", "rtn"]:
extra = "STEP_OUT"
emit(f, '\t{ "%s", DASM_%s, %s },' % (opc, mode, extra))