xref: /original-bsd/sys/tahoe/align/Awrite_back.c (revision c577960b)
1 /*	Awrite_back.c	1.1	86/07/20	*/
2 
3 #include "../tahoealign/align.h"
4 
5 write_back(infop,value, where)
6 process_info	*infop;
7 long		value;
8 struct	oprnd 	*where;
9 /*
10 /*	Put the given result where the operand specifies.
11 /*
12 /*
13 /**************************************************/
14 {
15 	switch (where->length)
16 	{
17 		case 1: write_byte (infop,value, where); break;
18 		case 2: write_word (infop,value, where); break;
19 		case 4: write_longword (infop,value, where); break;
20 		case 8: write_quadword (infop,value, where); break;
21 		default : printf ("Wrong destination length in alignment\n");
22 	}
23 }
24