错误:symbol type conflict
以下一个程序:
assume ds:dataseg, cs:cseg, ss:stackseg
;*******************************************************************************************
dataseg segment
strbuf db 'ASASAASASSASSAASASAS'
count equ $-strbuf
string db 'AS'
count1 equ $-string
messg db "The Number of 'AS' is : "
num db 0
db 0aH,0dH,'$'
dataseg ends
;*******************************************************************************************
;*******************************************************************************************
stackseg segment
db 16 dup(0)
stackseg ends
;*******************************************************************************************
;*******************************************************************************************
cseg segment
start: mov ax, dataseg
mov ds, ax
mov ax, stackseg
mov ss, ax
mov sp, 10h
mov bl, num
mov cx, count
mov si, 0
;外层循环,遍历字符串
outer: push cx
push si
mov cx, 2
mov di, 0
;内层循环,遍历需要查找的字符串
inner: mov al, strbuf[si]
mov ah, string[di]
inc si
inc di
cmp al, ah
jnz next
loop inner
pop si
pop cx
inc si
inc bl
go: loop outer
;如果不匹配的话
next: pop si
pop cx
inc si
loop outer
;输出
add bl, 48
mov num, bl
mov dx, offset messg
mov ah, 09h
int 21h
mov ax,4c00h
int 21h
cseg ends
;*******************************************************************************************
end start
在
start: mov ax, dataseg
和
mov ax, stackseg
这两行有以下错误:
12.asm(27) : error A2004: symbol type conflict
12.asm(30) : error A2004: symbol type conflict
12.asm(80) : warning A4023: with /coff switch, leading underscore required for start address : start
请问是怎么回事?~~是在RadASM下用Masm32编译出错的~用Masm6编译不会出错,但是我深感用DEBUG调试程序的艰辛,所以想换一个调试环境,可是过不去啊~~5555555555~~