aboutsummaryrefslogtreecommitdiff
path: root/opcodes/moxie-opc.c
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 /opcodes/moxie-opc.c
parent3b146284444f889294f0c1db13015c18bde0cf20 (diff)
downloadgdb-bffb60047d90919d8c3a11db9ae7e9f45553a657.zip
gdb-bffb60047d90919d8c3a11db9ae7e9f45553a657.tar.gz
gdb-bffb60047d90919d8c3a11db9ae7e9f45553a657.tar.bz2
Limit moxie sto/ldo offsets to 16 bits
Diffstat (limited to 'opcodes/moxie-opc.c')
-rw-r--r--opcodes/moxie-opc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/opcodes/moxie-opc.c b/opcodes/moxie-opc.c
index a858088..b3603c9 100644
--- a/opcodes/moxie-opc.c
+++ b/opcodes/moxie-opc.c
@@ -64,8 +64,8 @@ const moxie_opc_info_t moxie_form1_opc_info[128] =
{ 0x09, MOXIE_F1_4A, "sta.l" },
{ 0x0a, MOXIE_F1_ABi, "ld.l" },
{ 0x0b, MOXIE_F1_AiB, "st.l" },
- { 0x0c, MOXIE_F1_ABi4, "ldo.l" },
- { 0x0d, MOXIE_F1_AiB4, "sto.l" },
+ { 0x0c, MOXIE_F1_ABi2, "ldo.l" },
+ { 0x0d, MOXIE_F1_AiB2, "sto.l" },
{ 0x0e, MOXIE_F1_AB, "cmp" },
{ 0x0f, MOXIE_F1_NARG, "nop" },
{ 0x10, MOXIE_F1_AB, "sex.b" },
@@ -106,10 +106,10 @@ const moxie_opc_info_t moxie_form1_opc_info[128] =
{ 0x33, MOXIE_F1_AB, "mod" },
{ 0x34, MOXIE_F1_AB, "umod" },
{ 0x35, MOXIE_F1_NARG, "brk" },
- { 0x36, MOXIE_F1_ABi4, "ldo.b" },
- { 0x37, MOXIE_F1_AiB4, "sto.b" },
- { 0x38, MOXIE_F1_ABi4, "ldo.s" },
- { 0x39, MOXIE_F1_AiB4, "sto.s" },
+ { 0x36, MOXIE_F1_ABi2, "ldo.b" },
+ { 0x37, MOXIE_F1_AiB2, "sto.b" },
+ { 0x38, MOXIE_F1_ABi2, "ldo.s" },
+ { 0x39, MOXIE_F1_AiB2, "sto.s" },
{ 0x3a, MOXIE_BAD, "bad" },
{ 0x3b, MOXIE_BAD, "bad" },
{ 0x3c, MOXIE_BAD, "bad" },