From 3879925e690102682c05d7f61997dae9eaf23b98 Mon Sep 17 00:00:00 2001 From: Sean Keys Date: Thu, 5 Jul 2012 19:37:52 +0000 Subject: 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. --- opcodes/xgate-dis.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'opcodes/xgate-dis.c') diff --git a/opcodes/xgate-dis.c b/opcodes/xgate-dis.c index 8c722f5..31f44d6 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); -- cgit v1.1