mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 12:53:17 +08:00
* hppa-dis.c (print_insn_hppa): Add cases for '.', '~'. '$'. and '!'
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
Sat Aug 28 00:27:24 1999 Jerry Quinn <jquinn@nortelnetworks.com>
|
Sat Aug 28 00:27:24 1999 Jerry Quinn <jquinn@nortelnetworks.com>
|
||||||
|
|
||||||
|
* hppa-dis.c (print_insn_hppa): Add cases for '.', '~'. '$'. and '!'
|
||||||
|
|
||||||
* hppa-dis.c (print_insn_hppa): Look at next arg instead of bits
|
* hppa-dis.c (print_insn_hppa): Look at next arg instead of bits
|
||||||
to decide to print a space.
|
to decide to print a space.
|
||||||
|
|
||||||
|
@ -614,10 +614,22 @@ print_insn_hppa (memaddr, info)
|
|||||||
of address. */
|
of address. */
|
||||||
fput_const (extract_17 (insn), info);
|
fput_const (extract_17 (insn), info);
|
||||||
break;
|
break;
|
||||||
|
case '.':
|
||||||
|
(*info->fprintf_func) (info->stream, "%d",
|
||||||
|
GET_FIELD (insn, 24, 25));
|
||||||
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
(*info->fprintf_func) (info->stream, "%d",
|
(*info->fprintf_func) (info->stream, "%d",
|
||||||
31 - GET_FIELD (insn, 22, 26));
|
31 - GET_FIELD (insn, 22, 26));
|
||||||
break;
|
break;
|
||||||
|
case '~':
|
||||||
|
{
|
||||||
|
int num;
|
||||||
|
num = GET_FIELD (insn, 20, 20) << 5;
|
||||||
|
num |= GET_FIELD (insn, 22, 26);
|
||||||
|
(*info->fprintf_func) (info->stream, "%d", 63 - num);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 'P':
|
case 'P':
|
||||||
(*info->fprintf_func) (info->stream, "%d",
|
(*info->fprintf_func) (info->stream, "%d",
|
||||||
GET_FIELD (insn, 22, 26));
|
GET_FIELD (insn, 22, 26));
|
||||||
@ -626,6 +638,9 @@ print_insn_hppa (memaddr, info)
|
|||||||
(*info->fprintf_func) (info->stream, "%d",
|
(*info->fprintf_func) (info->stream, "%d",
|
||||||
32 - GET_FIELD (insn, 27, 31));
|
32 - GET_FIELD (insn, 27, 31));
|
||||||
break;
|
break;
|
||||||
|
case '$':
|
||||||
|
fput_const (GET_FIELD (insn, 20, 28), info);
|
||||||
|
break;
|
||||||
case 'A':
|
case 'A':
|
||||||
fput_const (GET_FIELD (insn, 6, 18), info);
|
fput_const (GET_FIELD (insn, 6, 18), info);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user