COM_ADD EQU 0F003H
PA_ADD EQU 0F000H
PB_ADD EQU 0F001H
PC_ADD EQU 0F002H
IO8259_0 EQU 0E000H
IO8259_1 EQU 0E001H
_STACK SEGMENT STACK
DW 100 DUP(?)
_STACK ENDS
_DATA SEGMENT WORD PUBLIC'DATA'
_DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:_DATA,SS:_STACK
START: MOV AX,_DATA
MOV DS,AX
MOV ES,AX
NOP
CLI
MOV DX,COM_ADD
MOV AL,86H
OUT DX,AL
MOV AL,5
OUT DX,AL
CALL Init8259
CALL WriIntver
A1: STI
HLT
JMP A1
Init8259 PROC NEAR
MOV DX,IO8259_0
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余2页未读,立即下载