xref: /csrg-svn/sys/tahoe/align/Amcom.c (revision 45699)
1*45699Sbostic /*	Amcom.c	1.2	90/12/04	*/
229615Ssam 
3*45699Sbostic #include "align.h"
429615Ssam mcom(infop)	process_info *infop;
529615Ssam /*
629615Ssam /*	Move complemented
729615Ssam /*
829615Ssam /************************************/
929615Ssam {
1029615Ssam 	register	long	Register_12;	/* Has to be first reg ! */
1129615Ssam 	register	long	Register_11;
1229615Ssam 
1329615Ssam 	Register_12 = operand(infop, 0)->data;
1429615Ssam 	Register_11=psl;
1529615Ssam 	Set_psl(r11);	/* restore the user psl */
1629615Ssam 	asm ("	mcoml	r12,r11");
1729615Ssam 	asm ("	movpsl	r12");
1829615Ssam 	New_cc (Register_12);
1929615Ssam 	write_back (infop, Register_11, operand(infop,1));
2029615Ssam }
21