aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32r-dis.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1999-10-05 00:05:52 +0000
committerDoug Evans <dje@google.com>1999-10-05 00:05:52 +0000
commit1fa60b5dde8d6e82e4c8589c1b76b4b8a8730f22 (patch)
tree471599c575886f9e3aa0f8a62b0b23473f4fcb13 /opcodes/m32r-dis.c
parent103f02d372fd3f4960fb51cc3b83bbb98dc64ec1 (diff)
downloadgdb-1fa60b5dde8d6e82e4c8589c1b76b4b8a8730f22.zip
gdb-1fa60b5dde8d6e82e4c8589c1b76b4b8a8730f22.tar.gz
gdb-1fa60b5dde8d6e82e4c8589c1b76b4b8a8730f22.tar.bz2
* fr30-asm.c,fr30-desc.h: Rebuild.
* m32r-asm.c,m32r-desc.c,m32r-desc.h: Rebuild. Add m32rx support. * m32r-dis.c,m32r-ibld.c,m32r-opc.c,m32r-opc.h,m32r-opinst.c: Ditto.
Diffstat (limited to 'opcodes/m32r-dis.c')
-rw-r--r--opcodes/m32r-dis.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/opcodes/m32r-dis.c b/opcodes/m32r-dis.c
index f4fd199..f880784 100644
--- a/opcodes/m32r-dis.c
+++ b/opcodes/m32r-dis.c
@@ -164,6 +164,15 @@ m32r_cgen_print_operand (cd, opindex, xinfo, fields, attrs, pc, length)
switch (opindex)
{
+ case M32R_OPERAND_ACC :
+ print_keyword (cd, info, & m32r_cgen_opval_h_accums, fields->f_acc, 0);
+ break;
+ case M32R_OPERAND_ACCD :
+ print_keyword (cd, info, & m32r_cgen_opval_h_accums, fields->f_accd, 0);
+ break;
+ case M32R_OPERAND_ACCS :
+ print_keyword (cd, info, & m32r_cgen_opval_h_accums, fields->f_accs, 0);
+ break;
case M32R_OPERAND_DCR :
print_keyword (cd, info, & m32r_cgen_opval_cr_names, fields->f_r1, 0);
break;
@@ -185,6 +194,9 @@ m32r_cgen_print_operand (cd, opindex, xinfo, fields, attrs, pc, length)
case M32R_OPERAND_HI16 :
print_normal (cd, info, fields->f_hi16, 0|(1<<CGEN_OPERAND_SIGN_OPT), pc, length);
break;
+ case M32R_OPERAND_IMM1 :
+ print_normal (cd, info, fields->f_imm1, 0|(1<<CGEN_OPERAND_HASH_PREFIX), pc, length);
+ break;
case M32R_OPERAND_SCR :
print_keyword (cd, info, & m32r_cgen_opval_cr_names, fields->f_r2, 0);
break;