File:  [CSRG BSD Unix] / 43BSDTahoe / sys / tahoealign / Amovob.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

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

#include "../tahoealign/align.h" 
movob_op(infop) 
process_info *infop;
/*
/*	Move output byte
/*
/****************************************/
{
	register	long	Register_12;	/* Has to be first reg ! */
	register	long	Register_11;
	register	long	Register_10;
	register	long	code;


	Register_12 = operand(infop,0)->data;
	Register_11 = operand(infop,1)->address;
	code = writeable(infop, Register_11, 1);
	if ( code == TRUE ) {
		Register_10=psl;
		Set_psl(r10);	/* restore the user psl */
		asm ("	movob	r12,(r11)");
		asm ("	movpsl	r12");
		New_cc (Register_12);
	} else exception (infop, ILL_ACCESS, Register_11, code);
}

unix.superglobalmegacorp.com

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