changeset 637:d8d58eced22f

Tiny bit of work towards supporting 68020 addressing modes in decoder/disassembler
author Michael Pavone <pavone@retrodev.com>
date Sun, 12 Oct 2014 23:55:25 -0700
parents 22e357678fad
children 8a3198c17207
files 68kinst.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/68kinst.h	Sun Oct 12 19:03:05 2014 -0700
+++ b/68kinst.h	Sun Oct 12 23:55:25 2014 -0700
@@ -173,6 +173,7 @@
 //expanded values
 	MODE_AREG_INDEX_DISP8,
 #ifdef M68020
+	MODE_AREG_INDEX_DISP16,
 	MODE_AREG_INDEX_DISP32,
 #endif
 	MODE_ABSOLUTE_SHORT,
@@ -244,6 +245,9 @@
 		struct {
 			uint8_t pri;
 			uint8_t sec;
+#ifdef M68020
+			uint8_t scale;
+#endif
 			int32_t displacement;
 		} regs;
 		uint32_t immed;