forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user