summaryrefslogtreecommitdiff
path: root/opcodes/xgate-dis.c
diff options
context:
space:
mode:
authorseank <seank>2012-07-05 19:37:52 +0000
committerseank <seank>2012-07-05 19:37:52 +0000
commit44c0405a2cc14f6cb9f498def0f220e6a3bf0628 (patch)
tree7c6bb659e19f7b9f787091496f82e18b0ac2c305 /opcodes/xgate-dis.c
parenta37a7fcdb9f9fa6aaea28e9cdb5bf1fa25f29f1a (diff)
downloadbinutils-redhat-44c0405a2cc14f6cb9f498def0f220e6a3bf0628.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 8c722f5d5c..31f44d63f9 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);