求大神error A2049: Illegal use of register error A2006: Phase error between pass
新手求助大神看看到底错在哪里~~~~~小弟叩拜了!!!!!! SZSJ: MOV DI,0B800H
MOV ES,DI
MOV DI,24*160+100
MOV CL,50
PAND: MOV AH,0
INT 16H
CMP AH,4BH
JE ZUOY
CMP AH,4DH
JE YOUY
CMP AH,1CH
JE SZSJW
CMP AL,31H
JNB PAND
CMP AL,35H
JA PAND
SJZH:
MOV AH,2
MOV BH,0
MOV DH,24
MOV DL,CL
INT 10H
AND AL,0FH
MOV BYTE PTR ES[DI],AL error A2049: Illegal use of register
JMP PAND
ZUOY: DEC DI
DEC DI
MOV BYTE PTR CH,ES[DI] error A2049: Illegal use of register
CMP AL,' '
JNE ZUOY1
DEC DI
DEC DI
MOV BYTE PTR CH,ES[DI] error A2049: Illegal use of register
CMP AL,' '
JE SZSJ
DEC CL
DEC CL
JMP PAND
ZUOY1: DEC CL error A2006: Phase error between passes
JMP PAND
YOUY: INC DI
INC DI
MOV BYTE PTR CH,ES[DI]error A2049: Illegal use of register
CMP AL,' '
JNE YOUY1
INC DI
INC DI
MOV BYTE PTR CH,ES[DI]error A2049: Illegal use of register
CMP AL,' '
JE SZSJ
INC CL
INC CL
JMP PAND
YOUY1: INC CL error A2006: Phase error between passes
JMP PAND