home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / batch / library / batutl2 / brk.asm < prev    next >
Assembly Source File  |  1988-04-20  |  381b  |  18 lines

  1. TITLE    BRK    1-12-85    [4-15-88]
  2. ;Toad Hall disassembly
  3.  
  4. ;INITIAL VALUES :    CS:IP    0000:0100
  5. ;            SS:SP    0000:FFFF
  6. CodeSeg    SEGMENT
  7.     ASSUME DS:CodeSeg, SS:CodeSeg ,CS:CodeSeg ,ES:CodeSeg
  8.     ORG    100H
  9.  
  10. Brk    proc    near
  11.     MOV    AH,0BH        ;check kbd status
  12.     INT    21H        ;AL=FF if char avail, 0 if no char avail
  13.     MOV    AH,4CH        ;return AL as errorlevel
  14.     INT    21H
  15. Brk    endp
  16.     CodeSeg    ENDS
  17.     END    Brk
  18.