File:  [MW Coherent from dump] / coherent / b / lib / libc / crt / i8086 / dzero.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:35 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

////////
/
/ Intel 8086 C runtime.
/ Zero the _fpac_.
/ SMALL model.
/
////////

	.globl	dzero
	.globl	_fpac_

////////
/
/ dzero()
/ Returns 0 in AX, 0. in _fpac_.
/
////////

dzero:
	push	di

	mov	di, $_fpac_
	sub	ax, ax
	cld
	stosw
	stosw
	stosw
	stosw

	pop	di
	ret

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.