;-------------------微机原理课程设计-------------------
CODE SEGMENT
ASSUME CS:CODE,DS:CODE,ES:CODE
ORG 3400H
H8: JMP P8259
ZXK EQU 0FFDCH
ZWK EQU 0FFDDH ;数码管地址
LED DB 0C0H,0F9H,0A4H,0B0H,99H,92H,82H,0F8H,80H,90H ;0-9
DB 040H,079H,24H,30H,19H,12H,02H,78H,00H,10H,0FFH ;0.-9.
BUF1 DB ?
BUF DB ?,?,?,?,?,?
Port0 EQU 0FFE0H ;8259芯片地址
Port1 EQU 0FFE1H
P8259: CLI
CALL WP ;初始化显示“000000”
MOV AX,OFFSET INT8259 ;中断IR7入口地址
MOV BX,003CH
2023-02-26 16:19:07
7KB
频率计
1