输出“Hello,world”出错
小弟刚接触汇编,自己写了个输出Hello,world的程序
但是出现了一个错误和一个警告
大侠们帮忙看看
data1 segment
msg db "Hello, word.",0dh,0ah,"$"
data1 ends
code1 segment
assume cs:code1, ds:data1
start:
mov ax, data1 ;本行出现错误error A2004: symbol type conflict
mov ds, ax
mov dx, offset msg
mov ah, 9
int 21h
mov ax, 4c00h
int 21h
code1 ends
end start;本行出现警告:warning A4023: with /coff switch,leading underscore required for start address:start