Don't add cr0 to the operand list as it's not displayed by the disassembly
This commit is contained in:
parent
4d3ccf46fd
commit
f2b699a716
|
@ -907,7 +907,9 @@ static char *printAliasInstrEx(MCInst *MI, SStream *OS, void *info)
|
||||||
(MCOperand_getImm(MCInst_getOperand(MI, 0)) < 16)) {
|
(MCOperand_getImm(MCInst_getOperand(MI, 0)) < 16)) {
|
||||||
int cr = getBICR(MCOperand_getReg(MCInst_getOperand(MI, 1)));
|
int cr = getBICR(MCOperand_getReg(MCInst_getOperand(MI, 1)));
|
||||||
|
|
||||||
op_addReg(MI, PPC_REG_CR0 + cr - PPC_CR0);
|
if (cr != PPC_CR0) {
|
||||||
|
op_addReg(MI, PPC_REG_CR0 + cr - PPC_CR0);
|
||||||
|
}
|
||||||
|
|
||||||
if (decCtr) {
|
if (decCtr) {
|
||||||
needComma = true;
|
needComma = true;
|
||||||
|
|
Loading…
Reference in New Issue