summaryrefslogtreecommitdiff
path: root/tables.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 /tables.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 'tables.h')
-rw-r--r--tables.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tables.h b/tables.h
index 6a95887..45c0910 100644
--- a/tables.h
+++ b/tables.h
@@ -24,8 +24,8 @@ static const uint8_t optype[0x100] = {
[PLB ] = IMM,
[INC_AB ] = ABS,
[INC_Z ] = ZM,
- [JSR ] = ZM,
- [JSL ] = ABS,
+ [JSR_Z ] = ZM,
+ [JSR ] = ABS,
[AND ] = IMM,
[ABA ] = IMPL,
[AND_AB ] = ABS,
@@ -133,7 +133,6 @@ static const uint8_t optype[0x100] = {
[CPB_IY ] = INDY,
[CPB_IX ] = INDX,
[RTS ] = IMPL,
- [RTL ] = IMPL,
[CMP ] = IMM,
[CAB ] = IMPL,
[CMP_AB ] = ABS,