break;
case RC_ADDR:
stream.writeCMP_Const(getReg(0), getInt(1));
break;
case RE_ADDR:
Address ind = getAddress(1);
stream.writeCMP(getReg(0), getRegister(ind.getImg()), ind.disp);
break;
case RA_ADDR:
ind = getAddress(1);
stream.writeCMP_MEM(getReg(0), ind.disp);
break;
case RG_ADDR:
ind = getAddress(1);
stream.writeCMP(getReg(0), (SR) X86Register.getRegister(ind.getImg()), ind.disp);
break;
case ER_ADDR:
ind = getAddress(0);
stream.writeCMP(getRegister(ind.getImg()), ind.disp, getReg(1));
break;
case EC_ADDR:
ind = getAddress(0);
stream.writeCMP_Const(operandSize, getRegister(ind.getImg()), ind.disp, getInt(1));
break;
case AC_ADDR:
ind = getAddress(0);
stream.writeCMP_MEM(operandSize, ind.disp, getInt(1));
break;
case GC_ADDR:
ind = getAddress(0);
stream.writeCMP_Const(operandSize, (SR) X86Register.getRegister(ind.getImg()), ind.disp, getInt(1));
break;
default:
reportAddressingError(CMP_ISN, addr);
}
}