Hello masm32,
I'm started on asm with this book, printed in 2000, that uses MASM 6.x to compile programs like the one below. I'm trying to assemble this with masm32, however there's something wrong. Anyone can space some time to tell me what I should do to get this working?
.MODEL SMALL
.DATA
DATA1 DB 10H
DATA2 DB 0
DATA3 DW 0
DATA4 DW 0AAAAH
.CODE
.STARTUP
MOV AL,DATA1
MOV AH,DATA2
MOV DATA3,AX
MOV BX,DATA4
.EXIT
END
Regards,
Twanny.
This is 16-bit code. Masm32 is for 32-bit code.
You'll want a 16-bit version of masm :wink
http://www.masm32.com/board/index.php?topic=6440.0
you can assemble your program with masm32 but it may be a little problem to link it.