flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 18 Mar 2006, 13:38
Make sure that you disassemble with the same bitness as you assembled it (32 in this case). Many disassemblers (like HIEW or BIEW, for quick example) disassemble flat binary files as "use16" by default.
|
|||
![]() |
|
Bluebat 18 Mar 2006, 17:01
I disasembled it with ndisasm (nasm package) and BOCHS (cli hlt just before it). And also BOCHS executes it as mov ax,0x0001 even if in protected mode.
|
|||
![]() |
|
Tomasz Grysztar 18 Mar 2006, 17:13
So either it is the 16-bit protected mode, or you have assembled it to 16-bit (without "use32").
|
|||
![]() |
|
Madis731 20 Mar 2006, 08:41
mov eax,0x10001 should assemble to 6 bytes in 16-bit mode and 5 bytes in 32-bit mode. Check it!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.