summaryrefslogtreecommitdiff
path: root/68kinst.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-21 22:24:45 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-21 22:24:45 -0800
commitac74c3c5e970bd9ac2a70f8784e34f5152f0b44c (patch)
tree77dcc0e70818778ed7f210f1d7650326f66a2f7b /68kinst.h
parent2b4e07bdc1a24439724f2dec3ca5901151377030 (diff)
Implement indexed with 8-bit displacement addressing modes in decoder and disassembler
Diffstat (limited to '68kinst.h')
-rw-r--r--68kinst.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/68kinst.h b/68kinst.h
index 872bd2e..a43a775 100644
--- a/68kinst.h
+++ b/68kinst.h
@@ -123,10 +123,17 @@ typedef enum {
MODE_AREG_INDEX_MEM, //bunch of relatively complicated modes
MODE_PC_INDIRECT_ABS_IMMED, //Modes that use the program counter, an absolute address or immediate value
//expanded values
+ MODE_AREG_INDEX_DISP8,
+#ifdef M68020
+ MODE_AREG_INDEX_DISP32,
+#endif
MODE_ABSOLUTE_SHORT,
MODE_ABSOLUTE,
MODE_PC_DISPLACE,
- MODE_PC_INDEX,
+ MODE_PC_INDEX_DISP8,
+#ifdef M68020
+ MODE_PC_INDEX_DISP32,
+#endif
MODE_IMMEDIATE,
MODE_IMMEDIATE_WORD,//used to indicate an immediate operand that only uses a single extension word even for a long operation
MODE_UNUSED