I tried to assemble my first asm program (named what else? first.asm) with MASM32, but got error message A1000: cannot open file: first.asm.
code:

.model small
.stack
.data
message  db "Hello world, I'm learning Assembly !!!", "$"

.code

main proc
  mov  ax,seg message
  mov  ds,ax

  mov  ah,09
  lea  dx,message
  int  21h

  mov  ax,4c00h
  int  21h
main ndp
end main

I am a newbie, and i welcome any suggestions. Thanking you in advance.

Tok
Posted on 2009-09-24 09:47:57 by Tok

I tried to assemble my first asm program (named what else? first.asm) with MASM32, but got error message A1000: cannot open file: first.asm.
code:

.model small
.stack
.data
message   db "Hello world, I'm learning Assembly !!!", "$"

.code

main proc
   mov   ax,seg message
   mov   ds,ax

   mov   ah,09
   lea   dx,message
   int   21h

   mov   ax,4c00h
   int   21h
main ndp
end main

I am a newbie, and i welcome any suggestions. Thanking you in advance.

Tok


The code dump was not necessary. That error simply means MASM can't find the file you are referencing. Make sure you are in the directory of the file you are referencing when using such relative paths.
Posted on 2009-09-24 23:07:00 by SpooK