home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
104
/
OVRPROF.ZIP
/
OVRHLP.ASM
< prev
next >
Wrap
Assembly Source File
|
1993-10-06
|
373b
|
27 lines
.model large,c
extrn my_hook:proc
.code
oldss dw 0
oldsp dw 0
dw 1024*2 dup (?)
ovrstack dw ?
OvrProfileProc proc uses ds
mov cs:[oldss], ss
mov cs:[oldsp], sp
push cs
pop ss
mov sp, offset cs:[ovrstack]
call my_hook c, ax es bx
mov ss, cs:[oldss]
mov sp, cs:[oldsp]
ret
OvrProfileProc endp
public OvrProfileProc
end