aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sh-dis.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1995-12-04 20:32:44 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1995-12-04 20:32:44 +0000
commit60da007931b6e2f6dfe61c8a50506eb040baaf97 (patch)
tree0bd854781d3d65ff8e937ddbf244a98d63f203f3 /opcodes/sh-dis.c
parent2434e38489bf96ce0ff60dfdfeacc39aed91c470 (diff)
downloadgdb-60da007931b6e2f6dfe61c8a50506eb040baaf97.zip
gdb-60da007931b6e2f6dfe61c8a50506eb040baaf97.tar.gz
gdb-60da007931b6e2f6dfe61c8a50506eb040baaf97.tar.bz2
* sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
(sh_table): Added many SH3 opcodes. * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
Diffstat (limited to 'opcodes/sh-dis.c')
-rw-r--r--opcodes/sh-dis.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/opcodes/sh-dis.c b/opcodes/sh-dis.c
index 65570ba..ce6cad3 100644
--- a/opcodes/sh-dis.c
+++ b/opcodes/sh-dis.c
@@ -142,7 +142,7 @@ print_insn_shx(memaddr, info)
}
ok:
fprintf(stream,"%s\t", op->name);
- for (n = 0; n < 2 && op->arg[n] != A_END; n++)
+ for (n = 0; n < 3 && op->arg[n] != A_END; n++)
{
if (n && op->arg[1] != A_END)
fprintf(stream,",");
@@ -212,6 +212,12 @@ print_insn_shx(memaddr, info)
case A_VBR:
fprintf(stream,"vbr");
break;
+ case A_SSR:
+ fprintf(stream,"ssr");
+ break;
+ case A_SPC:
+ fprintf(stream,"spc");
+ break;
case A_MACH:
fprintf(stream,"mach");
break;
@@ -236,6 +242,9 @@ print_insn_shx(memaddr, info)
case FPUL_N:
fprintf(stream,"fpul");
break;
+ case F_FR0:
+ fprintf(stream,"fr0");
+ break;
/* end-sanitize-sh3e */
default:
abort();