/* moxie-opc.c -- Definitions for moxie opcodes.
- Copyright (C) 2009-2014 Free Software Foundation, Inc.
+ Copyright (C) 2009-2019 Free Software Foundation, Inc.
Contributed by Anthony Green (green@moxielogic.com).
This file is part of the GNU opcodes library.
{ 0x02, MOXIE_F1_AB, "mov" },
{ 0x03, MOXIE_F1_M, "jsra" },
{ 0x04, MOXIE_F1_NARG, "ret" },
- { 0x05, MOXIE_F1_AB, "add.l" },
+ { 0x05, MOXIE_F1_AB, "add" },
{ 0x06, MOXIE_F1_AB, "push" },
{ 0x07, MOXIE_F1_AB, "pop" },
{ 0x08, MOXIE_F1_A4, "lda.l" },
{ 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" },
{ 0x11, MOXIE_F1_AB, "sex.s" },
{ 0x12, MOXIE_F1_AB, "zex.b" },
{ 0x13, MOXIE_F1_AB, "zex.s" },
- { 0x14, MOXIE_BAD, "bad" },
- { 0x15, MOXIE_BAD, "bad" },
+ { 0x14, MOXIE_F1_AB, "umul.x" },
+ { 0x15, MOXIE_F1_AB, "mul.x" },
{ 0x16, MOXIE_BAD, "bad" },
{ 0x17, MOXIE_BAD, "bad" },
{ 0x18, MOXIE_BAD, "bad" },
{ 0x26, MOXIE_F1_AB, "and" },
{ 0x27, MOXIE_F1_AB, "lshr" },
{ 0x28, MOXIE_F1_AB, "ashl" },
- { 0x29, MOXIE_F1_AB, "sub.l" },
+ { 0x29, MOXIE_F1_AB, "sub" },
{ 0x2a, MOXIE_F1_AB, "neg" },
{ 0x2b, MOXIE_F1_AB, "or" },
{ 0x2c, MOXIE_F1_AB, "not" },
{ 0x2d, MOXIE_F1_AB, "ashr" },
{ 0x2e, MOXIE_F1_AB, "xor" },
- { 0x2f, MOXIE_F1_AB, "mul.l" },
+ { 0x2f, MOXIE_F1_AB, "mul" },
{ 0x30, MOXIE_F1_4, "swi" },
- { 0x31, MOXIE_F1_AB, "div.l" },
- { 0x32, MOXIE_F1_AB, "udiv.l" },
- { 0x33, MOXIE_F1_AB, "mod.l" },
- { 0x34, MOXIE_F1_AB, "umod.l" },
+ { 0x31, MOXIE_F1_AB, "div" },
+ { 0x32, MOXIE_F1_AB, "udiv" },
+ { 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" },