New bie question to compile MASM 6.x progs with masm32.

Started by leopardus, January 02, 2007, 01:21:53 PM

Previous topic - Next topic

leopardus

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.

Tedd

This is 16-bit code. Masm32 is for 32-bit code.

You'll want a 16-bit version of masm :wink
No snowflake in an avalanche feels responsible.

WiteG