Fixed output of the "db" class of instruction
This commit is contained in:
parent
b9a48a2493
commit
670529b5a5
@ -533,6 +533,8 @@ static int _write_opcode(ArchPlugin * plugin, ArchInstruction * instruction)
|
|||||||
0);
|
0);
|
||||||
switch(AO_GET_SIZE(instruction->flags) >> 3)
|
switch(AO_GET_SIZE(instruction->flags) >> 3)
|
||||||
{
|
{
|
||||||
|
case 0:
|
||||||
|
return 0;
|
||||||
case sizeof(uint8_t):
|
case sizeof(uint8_t):
|
||||||
operand.value.immediate.value = instruction->opcode;
|
operand.value.immediate.value = instruction->opcode;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user