验证中...
码云 Gitee IDE 全新上线——支持 Git 管理的轻量在线编码环境
语言: Assembly
最后更新于 2017-07-27 18:41
8255.asm
原始数据 复制代码
.model small
.code
.startup
mov ax,cs
mov ds,ax
mov dx,offset int10
mov ax,2572h
int 21h
in al,21h
and al,0fbh
out 21h,al
in al,0a1h
and al,0fbh
out 0a1h,al
mov dx,28bh
mov al,8bh
out dx,al
sti
jmp $
in al,21h
or al,04h
out 21h,al
sti
mov ah,4ch
int 21h
int10:
mov dx,28ah
in al,dx
mov dx,288h
out dx,al
mov al,20h
out 20h,al
out 0a0h,al
iret
end

评论列表( 0 )

你可以在登录后,发表评论

搜索帮助