home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / PRT_SCRN.ZIP / PRT_SCRN.ASM next >
Encoding:
Assembly Source File  |  1988-09-15  |  796 b   |  21 lines

  1. ;Program.....PRT_SCRN.ASM
  2. ;Author......Ray Love
  3. ;Date........12/15/85
  4. ;Comments....Routine to call DOS Interrupt 5 (Print Screen)
  5.  
  6.           PUBLIC     prt_scrn     ;name routine to CALL
  7. _PROG     SEGMENT    byte         ;begin program segment
  8. ASSUME    CS:_PROG                ;and put code there
  9. ;
  10. prt_scrn  PROC       far          ;far process
  11.           push       BP           ;save registers
  12.           push       DS
  13.           push       ES
  14.           int        5            ;print screen
  15.           pop        ES           ;restore registers
  16.           pop        DS
  17.           pop        BP
  18.           ret                     ;return
  19. prt_scrn  endp                    ;end routine
  20. _PROG     ends                    ;end segment
  21.           end                     ;end program