aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2014-12-27 10:57:04 -0500
committerAnthony Green <green@moxielogic.com>2014-12-27 10:57:51 -0500
commitbffb60047d90919d8c3a11db9ae7e9f45553a657 (patch)
treeddec1391ed980be8ff3c38bb54c5860f1349b283 /include/opcode
parent3b146284444f889294f0c1db13015c18bde0cf20 (diff)
downloadgdb-bffb60047d90919d8c3a11db9ae7e9f45553a657.zip
gdb-bffb60047d90919d8c3a11db9ae7e9f45553a657.tar.gz
gdb-bffb60047d90919d8c3a11db9ae7e9f45553a657.tar.bz2
Limit moxie sto/ldo offsets to 16 bits
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/ChangeLog5
-rw-r--r--include/opcode/moxie.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index a2248dc..85fe9ac 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-27 Anthony Green <green@moxielogic.com>
+
+ * moxie.h (MOXIE_F1_AiB2, MOXIE_F1_ABi2): Renamed from
+ MOXIE_F1_AiB4 and MOXIE_F1_ABi2.
+
2014-12-06 Eric Botcazou <ebotcazou@adacore.com>
* visium.h: New file.
diff --git a/include/opcode/moxie.h b/include/opcode/moxie.h
index 6c5a003..f220e38 100644
--- a/include/opcode/moxie.h
+++ b/include/opcode/moxie.h
@@ -28,8 +28,8 @@
Some use B and an indirect A (MOXIE_F1_AiB)
Some use A and an indirect B (MOXIE_F1_ABi)
Some consume a 4 byte immediate value and use X (MOXIE_F1_4A)
- Some use B and an indirect A plus 4 bytes (MOXIE_F1_AiB4)
- Some use A and an indirect B plus 4 bytes (MOXIE_F1_ABi4)
+ Some use B and an indirect A plus 2 byte offset (MOXIE_F1_AiB2)
+ Some use A and an indirect B plus 2 byte offset (MOXIE_F1_ABi2)
Form 2 instructions also come in different flavors:
@@ -50,8 +50,8 @@
#define MOXIE_F1_AiB 0x106
#define MOXIE_F1_ABi 0x107
#define MOXIE_F1_4A 0x108
-#define MOXIE_F1_AiB4 0x109
-#define MOXIE_F1_ABi4 0x10a
+#define MOXIE_F1_AiB2 0x109
+#define MOXIE_F1_ABi2 0x10a
#define MOXIE_F1_M 0x10b
#define MOXIE_F2_NARG 0x200