home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
BURKS
/
SOFTWARE
/
LIBS
/
PMC101.ZIP
/
LIBSRC.ZIP
/
SETIRQM.ASM
(
.txt
)
< prev
next >
Wrap
Assembly Source File
|
1994-06-18
|
451b
|
32 lines
.386p
locals
public SETIRQMASK
_TEXT segment dword public use32 'CODE'
SETIRQMASK:
mov cl,[esp+4+0+04h]
in al,0a1h
mov ah,al
in al,21h
mov edx,0fffffffeh
rol edx,cl
and eax,edx
mov edx,[esp+4+0+00h]
shl edx,cl
or eax,edx
out 21h,al
mov al,ah
out 0a1h,al
ret 08h
_TEXT ends
end