diff options
author | Jeff Law <law@redhat.com> | 1998-03-22 19:56:37 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1998-03-22 19:56:37 +0000 |
commit | 98f699f653dd800c0fbcdfe14633adba7aefc53e (patch) | |
tree | fdba51940c74858481a7734dc1b32cf921b5ce75 /opcodes/mips-dis.c | |
parent | b2846e630d7bc618548783257aed4a7b6e4220d0 (diff) | |
download | gdb-98f699f653dd800c0fbcdfe14633adba7aefc53e.zip gdb-98f699f653dd800c0fbcdfe14633adba7aefc53e.tar.gz gdb-98f699f653dd800c0fbcdfe14633adba7aefc53e.tar.bz2 |
* vu0.h (vcallms): Use 'O' for call target operand.
* mips-dis.c (print_insn_arg): Handle 'O'.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r-- | opcodes/mips-dis.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index f2b1847..f7f29bc 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -288,6 +288,13 @@ print_insn_arg (d, l, pc, info) case 'U': (*info->fprintf_func) (info->stream, "ACC"); break; + + case 'O': + delta = (l >> 6) & 0x7fff; + delta <<= 3; + (*info->print_address_func) (delta, info); + break; + /* end-sanitize-r5900 */ case 'T': @@ -549,7 +556,7 @@ _print_insn_mips (memaddr, word, info) /* start-sanitize-r5900 */ /* If this is an escape character, go ahead and print the next character in the arg string verbatim. */ - if (*d == '%') + if (*d == '#') { d++; (*info->fprintf_func) (info->stream, "%c", *d); |