Re: asm and nasm newbie
- From: "wolfgang kern" <nowhere@xxxxxxxxxxx>
- Date: Fri, 23 Sep 2005 19:09:53 +0000 (UTC)
"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
.
- Follow-Ups:
- Re: asm and nasm newbie
- From: Zhang Huan
- Re: asm and nasm newbie
- References:
- asm and nasm newbie
- From: Zhang Huan
- Re: asm and nasm newbie
- From: Frank Kotler
- Re: asm and nasm newbie
- From: Zhang Huan
- asm and nasm newbie
- Prev by Date: Re: asm and nasm newbie
- Next by Date: Re: [Clax86list] Re: resource files and assembler
- Previous by thread: Re: asm and nasm newbie
- Next by thread: Re: asm and nasm newbie
- Index(es):
Relevant Pages
|