File:  [CSRG BSD Unix] / 43BSDTahoe / sys / tahoealign / Acmp.c
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

/*	Acmp.c	1.1	86/07/20	*/

#include "../tahoealign/align.h" 
cmp(infop)	process_info *infop;
/*
/*	Arithmetic comparison 
/*
/**************************************************/
{
	register long	Register_12;	/* Has to be first reg ! */
	register long	Register_11;
	register long	Register_10;

	Register_12 = operand(infop,0)->data;
	Register_11 = operand(infop,1)->data;
	Register_10=psl;
	Set_psl(r10);	/* restore the user psl */
	asm ("	cmpl	r12,r11");
	asm ("	movpsl	r12");
	New_cc (Register_12);
}

unix.superglobalmegacorp.com

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