home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / dos_ency / section5 / fxn54h.asm < prev    next >
Encoding:
Assembly Source File  |  1988-08-11  |  873 b   |  18 lines

  1.         ;************************************************************;
  2.         ;                                                            ;
  3.         ;            Function 54H: Get Verify Flag                   ;
  4.         ;                                                            ;
  5.         ;            int get_verify()                                ;
  6.         ;                                                            ;
  7.         ;            Returns current value of verify flag.           ;
  8.         ;                                                            ;
  9.         ;************************************************************;
  10.  
  11. cProc   get_verify,PUBLIC
  12. cBegin
  13.         mov     ah,54h          ; Set function code.
  14.         int     21h             ; Read flag from MS-DOS.
  15.         cbw                     ; Clear high byte of return value.
  16.  
  17. cEnd
  18.