News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

how to change from 16-bit to 32-bit

Started by ninjarider, September 06, 2005, 02:20:15 PM

Previous topic - Next topic

ninjarider

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.

P1

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)

ninjarider

i was just wondering if that syntax was allowed by masm. or if it was spacific to another language

Gustav


ninjarider

what would be the proper syntax for masm then.

Gustav


nasm:

[Bits 32]
[section _text]

masm:

_text segment use32
....
_text ends

ninjarider