File:  [MW Coherent from dump] / coherent / b / lib / libc / crt / i8086 / lxrem.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.
/ SMALL model.
/
////////

	.globl	lrrem
	.globl	llrem
	.globl	vrrem
	.globl	lrmod
	.globl	llmod

////////
/
/ long
/ lrrem(a, b);
/ long a;
/ long b;
/
/ long
/ llrem(a, p);
/ long a;
/ long *p;
/
/ these routines perform long remainder. they are called from
/ the generated code whenever a long remainder is found in the
/ user's program.
/
/ both of these routines are just interfaces to the unsigned long
/ remainder routine via the long sign adjusters.
/
////////

lrrem:	mov	ax,$vrrem		/ get pointer to remainder code
	jmp	lrmod			/ and do the operation.

llrem:	mov	ax,$vrrem		/ get pointer to remainder code
	jmp	llmod			/ and do the operation.

unix.superglobalmegacorp.com

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