summaryrefslogtreecommitdiff
path: root/opcodes/xgate-dis.c
diff options
context:
space:
mode:
authorSean Keys <skeys@ipdatasys.com>2012-07-05 19:37:52 +0000
committerSean Keys <skeys@ipdatasys.com>2012-07-05 19:37:52 +0000
commit3879925e690102682c05d7f61997dae9eaf23b98 (patch)
treea154e9b8632ae32330ee15f32a61e4926fa40d88 /opcodes/xgate-dis.c
parentf4263ca2cd6e7ad1c17050f13e93458a59a31884 (diff)
downloadbinutils-gdb-3879925e690102682c05d7f61997dae9eaf23b98.tar.gz
gas/config/
* tc-xgate.c: Revised assembler so that operands are collected before the addressing mode is determined. include/opcode/ * xgate.h: Changed the format string for mode XGATE_OP_DYA_MON. opcodes/ * xgate-dis.c: Removed an IF statement that will always be false due to overlapping operand masks. * xgate-opc.c: Corrected 'com' opcode entry and fixed spacing.
Diffstat (limited to 'opcodes/xgate-dis.c')
-rw-r--r--opcodes/xgate-dis.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/opcodes/xgate-dis.c b/opcodes/xgate-dis.c
index 8c722f5d5c0..31f44d63f9e 100644
--- a/opcodes/xgate-dis.c
+++ b/opcodes/xgate-dis.c
@@ -177,16 +177,7 @@ print_insn (bfd_vma memaddr, struct disassemble_info* info)
}
break;
case XG_R_R:
- if (!strcmp (decodePTR->opcodePTR->constraints, XGATE_OP_DYA_MON))
- {
- operandOne = ripBits (&operMaskReg, 3, decodePTR->opcodePTR,
- raw_code);
- operandTwo = ripBits (&operMaskReg, 3, decodePTR->opcodePTR,
- raw_code);
- (*info->fprintf_func)(info->stream, " R%x, R%x", operandOne,
- operandTwo);
- }
- else if (!strcmp (decodePTR->opcodePTR->constraints, XGATE_OP_DYA))
+ if (!strcmp (decodePTR->opcodePTR->constraints, XGATE_OP_DYA))
{
operandOne = ripBits (&operMaskReg, 3, opcodePTR, raw_code);
operandTwo = ripBits (&operMaskReg, 3, opcodePTR, raw_code);