验证中...
Languages: Assembly
Latest update 2017-07-27 18:41
8255.asm
Raw Copy
.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

Comment list( 0 )

You need to Sign in for post a comment

5th_float_left_gitee 5th_float_left_close