using the masm how do i switch from 16-bit to 32-bit.
im looking at an example and the first line of code is [bits 16] and then later on it has [bits 32]
its also got [org 7c00h] as the second line of code.
ninjarider,
This is boot code and it will stay that way.
You might post the code and ask a more direct question to get what you want done.
Regards, P1 :8)
i was just wondering if that syntax was allowed by masm. or if it was spacific to another language
[Bits 32] is nasm syntax.
what would be the proper syntax for masm then.
nasm:
[Bits 32]
[section _text]
masm:
_text segment use32
....
_text ends
how do i do it in masm.