aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorSvein Seldal <svein@dev.seldal.com>2002-11-16 12:23:23 +0000
committerSvein Seldal <svein@dev.seldal.com>2002-11-16 12:23:23 +0000
commit44287f6039771c802eb0e6f371f3882d8cdac901 (patch)
tree88b0e3c652e61cd047261997b2e41260cd2e10eb /opcodes
parent18cde8d5ad64dbd34ca0f86458d5b5fb631de1eb (diff)
downloadgdb-44287f6039771c802eb0e6f371f3882d8cdac901.zip
gdb-44287f6039771c802eb0e6f371f3882d8cdac901.tar.gz
gdb-44287f6039771c802eb0e6f371f3882d8cdac901.tar.bz2
* gas/config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
(c4x_operands_match): Added check for 8-bits LDF insn. Give warning when using constant direct bigger than 2^16. Add the new arguments. * include/opcode/tic4x.h: Major rewrite of entire file. Define instruction classes, and put each instruction into a class. * opcodes/tic4x-dis.c: (c4x_print_op): Add support for the new argument format. Fix bug in 'N' register printer.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/tic4x-dis.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 7366e94..b3d3d66 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * tic4x-dis.c: (c4x_print_op): Add support for the new argument
+ format. Fix bug in 'N' register printer.
+
2002-11-12 Segher Boessenkool <segher@koffie.nl>
* ppc-dis.c (print_insn_powerpc): Correct condition register display.
diff --git a/opcodes/tic4x-dis.c b/opcodes/tic4x-dis.c
index 9eda876..ff1770e 100644
--- a/opcodes/tic4x-dis.c
+++ b/opcodes/tic4x-dis.c
@@ -479,6 +479,7 @@ c4x_print_op (info, instruction, p, pc)
break;
case 'E': /* register 0--7 */
+ case 'e':
if (! c4x_print_register (info, EXTRU (instruction, 7, 0)))
return 0;
break;
@@ -501,6 +502,7 @@ c4x_print_op (info, instruction, p, pc)
break;
case 'G': /* register 8--15 */
+ case 'g':
if (! c4x_print_register (info, EXTRU (instruction, 15, 8)))
return 0;
break;
@@ -525,7 +527,7 @@ c4x_print_op (info, instruction, p, pc)
break;
case 'N': /* register 23--23 */
- c4x_print_register (info, EXTRU (instruction, 22, 22) + REG_R0);
+ c4x_print_register (info, EXTRU (instruction, 23, 23) + REG_R0);
break;
case 'O': /* indirect (short C4x) 8--15 */
@@ -542,11 +544,13 @@ c4x_print_op (info, instruction, p, pc)
break;
case 'Q': /* register 0--15 */
+ case 'q':
if (! c4x_print_register (info, EXTRU (instruction, 15, 0)))
return 0;
break;
case 'R': /* register 16--20 */
+ case 'r':
if (! c4x_print_register (info, EXTRU (instruction, 20, 16)))
return 0;
break;