home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
filutl
/
chatt.arc
/
GETZF.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1988-04-09
|
468 b
|
18 lines
;ASM routine to return flags (need zero flag) register to input()
.MODEL SMALL
.CODE
PUBLIC _getzf
_getzf PROC NEAR
push bp ; don't really need standard proc in this
mov bp, sp ; program but will be reminder
pushf ; push flags register and
pop ax ; pop it to AX for return value
pop bp
ret
_getzf ENDP
END