.model tiny
.code
Start:
CLEAR:
mov cx, 80*25
mov ax, 7120h
sub bx,bx
l: mov es:[bx],ax
add bx, 2
loop l
str db 'string', 0 ; reserved word used as symbol : str
mov DI, ? ; position y*160 + x*2
mov aH, 03
sub Si, Si; index
L: mov al, STR[SI] ; symbol already defined elsewhere: l
mov es, [DI], ax ; extra characters on line
oR aL, AL
JZ done ; undefined symbol: done
ADD DI, 2
JMP L
end start
我把错误作为评论