XED2 and 8F opcode halting problem

XED2 and 8F opcode halting problem

Hi all,

I set up a binary decoder using XED2 library and run it under debian. When it reaches 8F opcode, halts and returns a "can't decode this instruction" error? but shoud 8F indicate "pop a value from the stack", shouldn't it?is there any workaround ? 

Thanks,Regards,

Marco

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Hi, XED can decode 0x8F but it needs at least one more byte. In the base architecture, 0x8F is part of a 2 byte opcode. The second byte must have bits 5:3 as 0: xx000xxx.  

% kits/current/xed -d 8f 00

8F00
ICLASS: POP CATEGORY: POP EXTENSION: BASE IFORM: POP_MEMv ISA_SET: I86
SHORT: pop dword ptr [eax]

Please note the 8F opcode also serves as the prefix for the AMD XOP instructions.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi