data segment
Score db 55,33,96,65,84,65,94,81,66,75,46,71,49,55,88,64,75,56,71,88
len equ $-Score
Notpassed db 0
passed db 0
Good db 0
Better db 0
Best db 0
data ends
code segment
assume cs:code,ds:data
satrt: mov ax,data
mov ds,ax
mov cx,len
mov si,0
re: mov al,score[si]
cmp al,60
jae f1
inc notpassed
jmp next
f1: cmp al,70
jae f2
inc passed
jmp next
f2: cmp al,80
jae f3
inc good
jmp next
f3: cmp al,90
jae f4
inc better
jmp next
f4: inc best
en: inc si
loop re
mov ah,4ch
int 21h
code ends
end start
jmp next
你要代码跳转到next标签处,可代码里没有next标签啊
你得类似f1:,f2:这样子,在某一行加一个next:,这样jmp next就跳转执行这一行。
具体next放哪,你得自己判断啊