Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Symbol Type Conflict

Status
Not open for further replies.

tilex

Technical User
Dec 4, 2005
3
0
0
CA
Hi everybody. I am new to assembly and I haven't managed to compile the source code I found in an assembly tutorial, could you guys help me out ? I am using the MASM32 compiler and when I try to compile the following code, it says that the 9th line has a "symbol type conflict" error.

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   endp
end main
Thank you.
 
I'm sorry I don't know how to edit, but I didn't precise : the 9th line is the first line after the declaration of the 'main' procedure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top