xavix: Allow debugger to step over CALLF instruction

This commit is contained in:
AJR 2018-10-10 22:03:53 -04:00
parent 73cc342529
commit ada4b54d61

View File

@ -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))