News:

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

How to use emu8086 samples in MASM?

Started by izmanhaidi, February 16, 2005, 04:10:19 AM

Previous topic - Next topic

izmanhaidi

Hi,
Is it anyone out there know how to use emu8086 samples to MASM.Hope I can get step by step way of doing it.(Keep in mind that I'm still beginner).

Thanks.


AeroASM

emu8086 is 16 bit, and MASM is 32 bit, so you cannot do this easily. The main difference is that 16 bit code is written for DOS and uses interrupts, whereas 32 bit code is written for Windows and uses the API.

you could download the 16 bit linker from here: http://win32assembly.online.fr/download.html. If you use this instead, then your programs should work fine, aapart from the emu8086 directives need to be translated into MASM directives.

Which samples do you have in mind? You could rewrite them for 32 bit.