summaryrefslogtreecommitdiff
path: root/disasm.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-05-29 22:38:34 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-05-29 22:38:34 -0400
commit2f9d38f9f9d6f17bc274934b23915417012eeed8 (patch)
treeb72aff709261d5e22f026835191eec9b73a77ff5 /disasm.h
parent47cb4ad67be723a4df8e6ccd3cad6be79e3e7765 (diff)
Make JSL, JSR absolute, and remove RTL.
The reason for doing this was because JSL, and RTL are redundent, as they both do the same thing as JSR, and RTS.
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/disasm.h b/disasm.h
index 8fe2b4c..ce35ad3 100644
--- a/disasm.h
+++ b/disasm.h
@@ -23,7 +23,7 @@ static const char *opname[0x100] = {
[0x1C] = "INC a",
[0x1D] = "INC zm",
[0x1E] = "JSR zm",
- [0x20] = "JSL a",
+ [0x20] = "JSR a",
[0x21] = "AND #",
[0x22] = "ABA",
[0x24] = "AND a",
@@ -131,7 +131,6 @@ static const char *opname[0x100] = {
[0xAC] = "CPB iny",
[0xAD] = "CPB inx",
[0xAE] = "RTS",
- [0xB0] = "RTL",
[0xB1] = "CMP #",
[0xB2] = "CAB",
[0xB4] = "CMP a",