[Patch, moxie] Add new sign-extension instructions
Anthony Green
green@moxielogic.com
Thu Apr 3 00:04:00 GMT 2014
I'm about to commit the following patch, which adds new sign-extension
instructions to the moxie port.
AG
2014-04-02 Anthony Green <green@moxielogic.com>
* moxie-opc.c (moxie_form1_opc_info): Add sign-extension
instructions, sex.b and sex.s.
diff --git a/opcodes/moxie-opc.c b/opcodes/moxie-opc.c
index 50fb2d8..ffc5d19 100644
--- a/opcodes/moxie-opc.c
+++ b/opcodes/moxie-opc.c
@@ -68,8 +68,8 @@ const moxie_opc_info_t moxie_form1_opc_info[128] =
{ 0x0d, MOXIE_F1_AiB4, "sto.l" },
{ 0x0e, MOXIE_F1_AB, "cmp" },
{ 0x0f, MOXIE_F1_NARG, "nop" },
- { 0x10, MOXIE_BAD, "bad" },
- { 0x11, MOXIE_BAD, "bad" },
+ { 0x10, MOXIE_F1_AB, "sex.b" },
+ { 0x11, MOXIE_F1_AB, "sex.s" },
{ 0x12, MOXIE_BAD, "bad" },
{ 0x13, MOXIE_BAD, "bad" },
{ 0x14, MOXIE_BAD, "bad" },
More information about the Binutils
mailing list