home *** CD-ROM | disk | FTP | other *** search
- ;Program.....PRT_SCRN.ASM
- ;Author......Ray Love
- ;Date........12/15/85
- ;Comments....Routine to call DOS Interrupt 5 (Print Screen)
-
- PUBLIC prt_scrn ;name routine to CALL
- _PROG SEGMENT byte ;begin program segment
- ASSUME CS:_PROG ;and put code there
- ;
- prt_scrn PROC far ;far process
- push BP ;save registers
- push DS
- push ES
- int 5 ;print screen
- pop ES ;restore registers
- pop DS
- pop BP
- ret ;return
- prt_scrn endp ;end routine
- _PROG ends ;end segment
- end ;end program