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

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

#include "../tahoealign/align.h" 
tst(infop)	process_info *infop;
/*
/*	Test operand, set condition codes.
/*
/************************************************/
{
	register long quantity;

	quantity = operand(infop,0)->data;
	if (quantity < 0) negative_1; else negative_0;
	if (quantity == 0) zero_1; else zero_0;
	overflow_0; carry_1;
}

unix.superglobalmegacorp.com

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