• Home
  • Raw
  • Download

Lines Matching refs:current

1017   byte* current = data + 2;  in TwoByteOpcodeInstruction()  local
1024 byte third_byte = *current; in TwoByteOpcodeInstruction()
1025 current = data + 3; in TwoByteOpcodeInstruction()
1027 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1029 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1030 AppendToBuffer(", %s, %d", NameOfCPURegister(regop), (*current) & 3); in TwoByteOpcodeInstruction()
1031 current += 1; in TwoByteOpcodeInstruction()
1033 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1036 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1037 AppendToBuffer(", %d", (*current) & 3); in TwoByteOpcodeInstruction()
1038 current += 1; in TwoByteOpcodeInstruction()
1043 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1045 current++; in TwoByteOpcodeInstruction()
1047 current++; in TwoByteOpcodeInstruction()
1050 current += 1; in TwoByteOpcodeInstruction()
1052 current += 4; in TwoByteOpcodeInstruction()
1057 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1060 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1066 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1070 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1074 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1078 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1082 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1086 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1103 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1113 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1115 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1119 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1124 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1126 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1131 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1134 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1138 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1141 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1145 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1147 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1157 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1159 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1163 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1168 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1170 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1175 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1178 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1183 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1185 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1188 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1190 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1197 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1198 current++; in TwoByteOpcodeInstruction()
1200 current++; in TwoByteOpcodeInstruction()
1203 current += 1; in TwoByteOpcodeInstruction()
1205 current += 4; in TwoByteOpcodeInstruction()
1212 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1214 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1219 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1221 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1233 current += PrintOperands(idesc.mnem, idesc.op_order_, current); in TwoByteOpcodeInstruction()
1238 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1240 current += PrintRightXMMOperand(current); in TwoByteOpcodeInstruction()
1244 current = data + JumpConditional(data); in TwoByteOpcodeInstruction()
1249 current += PrintOperands(mnemonic, REG_OPER_OP_ORDER, current); in TwoByteOpcodeInstruction()
1253 current = data + SetCC(data); in TwoByteOpcodeInstruction()
1259 get_modrm(*current, &mod, &regop, &rm); in TwoByteOpcodeInstruction()
1260 current += PrintRightOperand(current); in TwoByteOpcodeInstruction()
1269 return static_cast<int>(current - data); in TwoByteOpcodeInstruction()
1325 byte current; in InstructionDecode() local
1329 current = *data; in InstructionDecode()
1330 if (current == OPERAND_SIZE_OVERRIDE_PREFIX) { // Group 3 prefix. in InstructionDecode()
1331 operand_size_ = current; in InstructionDecode()
1332 } else if ((current & 0xF0) == 0x40) { // REX prefix. in InstructionDecode()
1333 setRex(current); in InstructionDecode()
1335 } else if ((current & 0xFE) == 0xF2) { // Group 1 prefix (0xF2 or 0xF3). in InstructionDecode()
1336 group_1_prefix_ = current; in InstructionDecode()
1343 const InstructionDesc& idesc = instruction_table.Get().Get(current); in InstructionDecode()
1347 if (current >= 0xA4 && current <= 0xA7) { in InstructionDecode()
1374 NameOfCPURegister(base_reg(current & 0x07))); in InstructionDecode()
1380 NameOfCPURegister(base_reg(current & 0x07))); in InstructionDecode()
1403 NameOfCPURegister(base_reg(current & 0x07)), in InstructionDecode()