Re: x86 VM

new topic     » goto parent     » topic index » view thread      » older message » newer message

>When JMP NEAR and JMP SHORT execute, they get the current memory location
>of the current IP and convert the parameter into a signed offset. Then,
>the offset is added to the IP, it makes an index from the code sequence,
>and sets the IP.

JMP SHORT = jump relative, displacement relative to next instruction.
JMP NEAR = jump absolute indirect, address given in r/m.

So your JMP NEAR code needs to be fixed to use absolute addressing instead
of relative addressing.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu