home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics 16,000
/
graphics-16000.iso
/
msdos
/
animutil
/
flilib
/
flisrc
/
zerobyte.asm
< prev
next >
Wrap
Assembly Source File
|
1989-11-10
|
572b
|
38 lines
_TEXT SEGMENT BYTE PUBLIC 'CODE'
_TEXT ENDS
_DATA SEGMENT WORD PUBLIC 'DATA'
_DATA ENDS
CONST SEGMENT WORD PUBLIC 'CONST'
CONST ENDS
_BSS SEGMENT WORD PUBLIC 'BSS'
_BSS ENDS
DGROUP GROUP CONST, _BSS, _DATA
ASSUME CS: _TEXT, DS: DGROUP, SS: DGROUP, ES: DGROUP
_TEXT SEGMENT
;i86_bzero(soffset, ssegment, bytes)
PUBLIC _i86_bzero
_i86_bzero PROC far
push bp
mov bp,sp
push es
push di
push cx
les di,[bp+6]
mov cx,[bp+10]
xor ax,ax
rep stosb
pop cx
pop di
pop es
pop bp
ret
_i86_bzero ENDP
_TEXT ENDS
END