求解答案
这例子编的什么?为什么运行显示不出来啊?DATA SEGMENT
TABLE1 DB 18H,34H,05H,06H,09H
DB 0AH,0CH,11H,12H,14H
TABLE2 DB 30H,31H,32H,33H,34H
DB 35H,36H,37H,38H,39H
DB 41H,42H,43H,44H,45H,46H
BUF DB ?
DATA ENDS
CODE SEGMENT
ASSUME CS: CODE,DS: DATA
GO: MOV AX,DATA
MOV DS,AX
MOV DH,0H
MOV CX,10
L1: MOV BX,OFFSET TABLE1
MOV AL,DH
XLAT TABLE1
MOV BUF,AL
MOV BX,OFFSET TABLE2
SHR AL,1
SHR AL,1
SHR AL,1
SHR AL,1
XLAT TABLE2
MOV DL,AL
MOV AH,02H
INT 21H
MOV AL,BUF
AND AL,0FH
XLAT TABLE2
MOV DL,AL
MOV AH,02H
INT 21H
MOV DL,'H'
INT 21H
MOV DL,' '
INT 21H
INC DH
LOOP L1
MOV AH,4CH
INT 21H
CODE ENDS
END GO