flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > 16bit opcodes |
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.
|
|||
18 Mar 2006, 13:38 |
|
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.
|
|||
18 Mar 2006, 17:01 |
|
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").
|
|||
18 Mar 2006, 17:13 |
|
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!
|
|||
20 Mar 2006, 08:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.