Don't add cr0 to the operand list as it's not displayed by the disassembly

This commit is contained in:
kratolp 2014-10-02 20:53:55 +02:00
parent 4d3ccf46fd
commit f2b699a716
1 changed files with 3 additions and 1 deletions

View File

@ -907,7 +907,9 @@ static char *printAliasInstrEx(MCInst *MI, SStream *OS, void *info)
(MCOperand_getImm(MCInst_getOperand(MI, 0)) < 16)) {
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) {
needComma = true;