Reverted last change

Need to find a clean solution that works in all possible cases
This commit is contained in:
flobernd 2017-09-21 19:40:47 +02:00
parent c91fe2cc4b
commit e6399bbb27
1 changed files with 0 additions and 5 deletions

View File

@ -368,11 +368,6 @@ static ZydisStatus ZydisFormatterPrintImmediateIntel(const ZydisFormatter* forma
return ZYDIS_STATUS_INVALID_PARAMETER; return ZYDIS_STATUS_INVALID_PARAMETER;
} }
} }
if (operand->size == 8)
{
return ZydisPrintHexU(
buffer, bufferLen, (uint8_t)operand->imm.value.u, 2, ZYDIS_TRUE, ZYDIS_TRUE);
}
switch (instruction->operandSize) switch (instruction->operandSize)
{ {
case 16: case 16: