Does anyone know how the code in this post (Not on this forum.) works? There's no mention of anything like it in either the Intel or AMD manuals, and I haven't been able to find anything substantial on the web.
I understand how the modrm\sib bits work and all with the prefixes, but my main problem comes when trying to determine if there is a modrm byte or not.
Thanks.
x86 Instruction Format
x86 Instruction Format
C8H10N4O2 | #446691 | Trust the nodes.
I don't have the intel manuals at hand either, but I know that the instruction-code itself specifies whether it is followed by a modrm or not. For example, code 0x00 (I think it is a adc?) requires a modrm byte, while 0x04 (adc al, ib) requires an immediate byte.
Hope this helps:
http://pdos.csail.mit.edu/6.828/2005/re ... 6/appa.htm
Greets!
Hope this helps:
http://pdos.csail.mit.edu/6.828/2005/re ... 6/appa.htm
Greets!