From 988c81ae76ab0da47db8938c14865d6e5b3a8024 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 20 Nov 2019 17:35:38 -0500 Subject: Fixed some bugs in some instructions. Fixed stack based instructions. Fixed the rotate instructions. Added carry to the shift instructions. --- opcode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opcode.h') diff --git a/opcode.h b/opcode.h index 757850e..f634be3 100644 --- a/opcode.h +++ b/opcode.h @@ -86,6 +86,8 @@ #define BRK 0xF8 /* BReaK. */ #define STP 0xFF /* SToP. */ +enum {ALU, THREAD, BRANCH, FLAG, MEMORY, MISC}; + static const char *opname[0x100] = { OPNAME(CPS), OPNAME(ADC), -- cgit v1.2.3-13-gbd6f