flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > pls, explain compiled code for IA32 |
Author |
|
edfed 06 Jan 2011, 09:09
fasm syntax is made to be simple.
exit the strange adressing representations from early ages of computing science. then: cmp byte[eax+ebx],0 the result of the compilation is only fucntion of useN if use16, then, will be prefixed for 32 bits interpretation under 16 bit mode if use32, then, will be like you found, and if use64, then, will be about SIB. |
|||
06 Jan 2011, 09:09 |
|
qeos 06 Jan 2011, 10:48
Yes, I should specify at once that at me use32
I not absolutely understand as to use it SIB in byte. For example if instead of 03 would be С6, this command would look so? Code: cmp [EAX*8 + ESI],0 is this correct? |
|||
06 Jan 2011, 10:48 |
|
MazeGen 06 Jan 2011, 11:48
This is correct.
Download OllyDbg (www.ollydbg.de), load any EXE file into it and start playing with the opcodes: just press any key (while the code window has focus) and type DB 80, 3C, 0C6, 00. Press enter to disassemble it and see the result. |
|||
06 Jan 2011, 11:48 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.