Re: asm and nasm newbie




"Zhang Huan" asked:

| ok, i know how to address in 16bit mode now

fine.

| another thing i'm curious to know is what's the 67h and 66h, seems to
| be the same code in different mode(16bit and 32bit). i have seen some
| people mentioned it, however i dont know what it means for

the prefix-bytes:

66h toggles* operand-size
67h toogles* addressing mode

*) use 'other than default' mode for only the following instruction.

But a few instructions are not too clear understandable with this:

66 e9 ... ;means a JMP by the opposite size (load IP or EIP)
66 c3 ;means RET by the opposite size (pop IP or EIP)
67 e0...e3 ;means LOOPx / J(E)CXZ by using cx or ecx as counters

and a few more ...

__
wolfgang


.



Relevant Pages

  • Re: Baffling .NET Threading issue.
    ... Start as the last instruction in a subroutine, but if you have a long ... unyielding process after the Start statement your new thread may ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: Lhomo français de service vous ditMERDE !!!
    ... Comme tu sais, l'instruction ... > Il y a aussi Brest-Litovsk en Biélorussie ... Looping ... Prev by Date: ...
    (soc.culture.belgium)
  • Re: All is right !
    ... But i did not found any instruction called Wolfgang :-) ... The aim is if i have two ascii ... or is your desire to reduce the string size by replacing doubles ...
    (alt.lang.asm)
  • Re: Lecoeurante justice belge.
    ... >>> C'est le boulot du juge d'instruction. ... Prev by Date: ... Previous by thread: ...
    (soc.culture.belgium)
  • New field not found by VBA
    ... Dudley ... Prev by Date: ...
    (microsoft.public.access.formscoding)