flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar
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
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
So either it is the 16-bit protected mode, or you have assembled it to 16-bit (without "use32").
|
|||
![]() |
|
Madis731
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.