diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2019-11-20 17:35:38 -0500 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2019-11-20 17:35:38 -0500 |
commit | 988c81ae76ab0da47db8938c14865d6e5b3a8024 (patch) | |
tree | 647260e836aba17ac8ce4fd1fb10289bf164b167 /opcode.h | |
parent | c42888e7e09b0a45c6b02534829eac06506834a6 (diff) |
Fixed some bugs in some instructions.
Fixed stack based instructions.
Fixed the rotate instructions.
Added carry to the shift instructions.
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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), |