home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
18
/
altpause.dba
< prev
next >
Wrap
Text File
|
1992-02-14
|
468b
|
12 lines
MOV AX,40
MOV DS,AX ; BIOS data segment 0040h
MOV AL, 0 ; prepare 0 for errorlevel
JMP 10B;;TEST ; jump to test
;109;;ERRLEV1 ; simulated label
MOV AL, 1 ; put 1 in errorlevel
;10B;;TEST ; simulated label
TEST BYTE PTR [17],0F ; test shift state byte
JNZ 109;;ERRLEV1 ; if any shift pressed, jump back 2 lines
MOV AH,4C ; exit with errorlevel set to AL
INT 21