编制显示四位和两位十六进制数
1、显示四位0A49H十六进制数
DATA SEGMENT
DATA1 DW 0A490H
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:
MOV AX,DATA
MOV DS,AX
MOV AX,DATA1
CALL DISP4
INT 20H
DISP4 PROC NEAR
PUSH BX
PUSH CX
PUSH DX
PUSH AX
MOV AL,AH
CALL DISP2
POP AX
CALL DISP2
原创
2020-10-12 21:05:53 ·
1143 阅读 ·
4 评论