汇编中出现expected:instruction or directive问题怎么办,哪位高手帮忙解决下
data segmentstring db 'where there is a will,there is way.$'
count db ?
data ends
code segment
assume ds:data,cs:code
start: push ds
sub ax,ax
push ax
mov ax,data
mov ds,ax
mov dx,0
begin: mov bx,offset string
mov al,[bx]
cmp al,24h
jz fin
cmp al,20h
jnz next
inc dx
next: inc bx
jmp begin
fin: count,dx ;汇编时提示这行出现expected:instruction or directive问题
code ends
end start
提前先谢谢大家了