BUF DB 68,76,89,90,95
G6 DB 0
G7 DB 0
G8 DB 0
G9 DB 0
G10 DB 0
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START: MOV AX,DATA
MOV DS,AX
MOV SI,0
LEA BX ,BUF
COMP1:CMP [BX+SI],69
JGE COMP2
ADD G6,1
JMP NEXT
COMP2:CMP [BX+SI],79
JGE COMP3
ADD G7,1
JMP NEXT
COMP3:CMP [BX+SI],89
JGE COMP4
ADD G8,1
JMP NEXT
COMP4:CMP [BX+SI],99
JGE COMP5
ADD G9,1
JMP NEXT
COMP5:ADD G10,1
JMP NEXT
NEXT:INC SI
CMP SI,4
JG LEAVE
JMP COMP1
LEAVE:MOV AH,4CH
INT 21H
CODE ENDS
END START
错误如下:可是我不会改
Operand must have size
Operand must have size
Operand must have size
Operand must have size