中南民族大学 微机原理实验答案 下载本文

内容发布更新时间 : 2024/9/29 1:00:29星期一 下面是文章的全部内容请认真阅读。

mov dx,pa8255 mov al,7fh out dx,al

mov ah,7fh mov cx,0008h L1:cmp cx,0000h jnz L0

mov dx,p8259com1 mov al,0ffh out dx,al sti hlt L0:sti jmp L1

interrupt :stc rcr ah,1 mov al,ah mov dx,pa8255 out dx,al dec cx

mov dx,p8259com0 mov al,20h out dx,al iret code ends end start