File:  [MW Coherent from dump] / coherent / b / lib / libc / old / negq.s,v
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

head     1.1;
branch   ;
access   ;
symbols  ;
locks    bin:1.1; strict;
comment  @@;


1.1
date     92.10.01.12.05.13;  author bin;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@////////
/
/ negq( w0, w1, w2, w3 ) - negate a quad word.
/
/	Action: Negate a quad word.
/
/	Return:	Negated result in _fpac_.
/
////////
	.globl	negq_
	.shri

negq_:	push	si
	push	di
	push	bp
	mov	bp,sp
	mov	ax,8(bp)
	mov	bx,10(bp)
	mov	cx,12(bp)
	mov	dx,14(bp)
	not	dx
	not	cx
	not	bx
	neg	ax
	sbb	bx,$0
	sbb	cx,$0
	sbb	dx,$0
	mov	_fpac_+0,ax
	mov	_fpac_+2,bx
	mov	_fpac_+4,cx
	mov	_fpac_+6,dx
	pop	bp
	pop	di
	pop	si
	ret
@

unix.superglobalmegacorp.com

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