Hi all,
Many members ask why their code won't assemble using MASM32, generally the code is fine but it is DOS code. Normal (ring3) Windows 32 bit code does not use interrupts and uses a flat memory model.
So if your code contains any of the following it is a good indicator that it belongs in the 16bit section of the board. You can post it in this forum but your answers will be better and quicker in the dedicated DOS subforum.
Hints that it's DOS code
.model <Anything but FLAT>
mov ax,@data
INT <any number>
To compile this code you need a 16 bit linker, the one distributed with MASM32 is only for 32 bit programs and can not be made to do it. You will find all of the help you need and links to the necessary building tools in the DOS subforum.
16 bit DOS Programming (http://www.masmforum.com/simple/index.php?board=24.0)