summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2019-11-20 17:35:38 -0500
committermrb0nk500 <b0nk@b0nk.xyz>2019-11-20 17:35:38 -0500
commit988c81ae76ab0da47db8938c14865d6e5b3a8024 (patch)
tree647260e836aba17ac8ce4fd1fb10289bf164b167 /opcode.h
parentc42888e7e09b0a45c6b02534829eac06506834a6 (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.h2
1 files changed, 2 insertions, 0 deletions
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),