i made macro named print as following :
print macro str
.data
x db str
.code
mov ax,seg x
mov ds,ax
mov ah,09
lea dx,x
int 21h
endm
it's worked very well when called for one time but when called 2 or more error message appears that is 'duplicated defining of x ... etc'
can some one give me solution to this problem i use masm 5.0 and calling like that
print 'hello world' for example
thank you