From 2f9d38f9f9d6f17bc274934b23915417012eeed8 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Fri, 29 May 2020 22:38:34 -0400 Subject: 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. --- enums.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'enums.h') diff --git a/enums.h b/enums.h index f5d30a8..451f5c2 100644 --- a/enums.h +++ b/enums.h @@ -23,8 +23,8 @@ enum base_isa { PLB = 0x1A, /* PuLl B register to stack. */ INC_AB = 0x1C, /* INC Absolute. */ INC_Z = 0x1D, /* INC Zero Matrix. */ - JSR = 0x1E, /* Jump to SubRoutine. */ - JSL = 0x20, /* Jump to Subroutine Long. */ + JSR_Z = 0x1E, /* Jump to SubRoutine. */ + JSR = 0x20, /* JSR Absolute. */ AND = 0x21, /* bitwise AND with accumulator. */ ABA = 0x22, /* bitwise And with Accumulator, and B register. */ AND_AB = 0x24, /* AND Absolute. */ @@ -132,7 +132,6 @@ enum base_isa { CPB_IY = 0xAC, /* CPB Indirect Indexed. */ CPB_IX = 0xAD, /* CPB Indexed Indirect. */ RTS = 0xAE, /* ReTurn from Subroutine. */ - RTL = 0xB0, /* ReTurn from subroutine Long. */ CMP = 0xB1, /* CoMPare accumulator. */ CAB = 0xB2, /* Compare Accumulator, and B. */ CMP_AB = 0xB4, /* CMP Absolute. */ -- cgit v1.2.3-13-gbd6f