home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
progjour
/
1991
/
06
/
alib
/
getvecto.asm
< prev
next >
Wrap
Assembly Source File
|
1991-06-25
|
316b
|
29 lines
include asm.inc
public get_vector
.code
;; get vector
;
; entry AL vector #
; exit DS:SI selected vector
; Zf if null vector
; uses AX
;
get_vector proc
mov ah,0
add ax,ax
add ax,ax
xchg ax,si
xor ax,ax
mov ds,ax
lds si,[si]
mov ax,ds
or ax,si
ret
get_vector endp
end