diff options
author | DJ Delorie <dj@redhat.com> | 2005-10-26 14:59:12 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-10-26 14:59:12 +0000 |
commit | f75eb1c00406df9d115a49dcf36c28dfef1478a6 (patch) | |
tree | fcf3521fe2f0638a87b654c609add945362d160d /opcodes/m32c-dis.c | |
parent | f1022c90ad7f6b94257c1b2fda3b46a5db9c9867 (diff) | |
download | gdb-f75eb1c00406df9d115a49dcf36c28dfef1478a6.zip gdb-f75eb1c00406df9d115a49dcf36c28dfef1478a6.tar.gz gdb-f75eb1c00406df9d115a49dcf36c28dfef1478a6.tar.bz2 |
* m32c.cpu (f-dsp-8-s24, Dsp-8-s24): New.
(mov-dspsp-dst-defn, mov-src-dspsp-defn, mov16-dspsp-dst-defn,
mov16-src-dspsp-defn, mov32-dspsp-dst-defn, mov32-src-dspsp-defn):
dsp8[sp] is signed.
(mov.WL:S #imm,A0/A1): dsp24 is signed (i.e. -0x800000..0xffffff).
(mov.BW:S r0,r1): Fix typo r1l->r1.
(tst): Allow :G suffix.
* m32c.opc (parse_signed24): New, for -0x800000..0xffffff.
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
Diffstat (limited to 'opcodes/m32c-dis.c')
-rw-r--r-- | opcodes/m32c-dis.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/m32c-dis.c b/opcodes/m32c-dis.c index 70dc85f..1aaaa89 100644 --- a/opcodes/m32c-dis.c +++ b/opcodes/m32c-dis.c @@ -458,6 +458,9 @@ m32c_cgen_print_operand (CGEN_CPU_DESC cd, case M32C_OPERAND_DSP_48_U8 : print_normal (cd, info, fields->f_dsp_48_u8, 0, pc, length); break; + case M32C_OPERAND_DSP_8_S24 : + print_normal (cd, info, fields->f_dsp_8_s24, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); + break; case M32C_OPERAND_DSP_8_S8 : print_normal (cd, info, fields->f_dsp_8_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); break; |