汇编语言求解
data segment
num db 59,58,63,69,71,72,83,88,94,99
scoreE db ?
scoreD db ?
scoreC db ?
scoreB db ?
scoreA db ?
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
mov cx,10
mov si,0
again: mov sbyte ptr al,num[si]
.if al<60
jmp one
.elseif al>=60&&al<70
jmp two
.elseif al>=70&&al<80
jmp three
.elseif al>=80&&al<90
jmp four
.else
jmp five
.endif
one: add bl,al
inc si
loop again
jmp next
two: add bh,al
inc si
loop again
jmp next
three: add ah,al
inc si
loop again
jmp next
four: add dl,al
inc si
loop again
jmp next
five: add dh,al
inc si
loop again
jmp nextnext: mov scoreE,bl
mov scoreD,bh
mov scoreC,ah
mov scoreB,dl
mov scoreA,dh
mov ah,4ch
int 21h
code ends
end start
软件提示说al符号没有定义,想问al符号要怎么定义?