xref: /original-bsd/sys/tahoe/align/Abbc.c (revision 9c5e301d)
1 /*-
2  * Copyright (c) 1986 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Computer Consoles Inc.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)Abbc.c	7.1 (Berkeley) 12/06/90
11  */
12 
13 #include "align.h"
14 bbc(infop)	process_info *infop;
15 /*
16 /*	Branch on bit clear.
17 /*
18 /********************************/
19 {
20 	register int position,base, new_address;
21 
22 	position = operand(infop,0)-> data & 0x1f;
23 	base = operand(infop,1)->data;
24 	new_address = operand(infop,2) -> address;
25 	negative_0; zero_1; overflow_0; carry_1;
26 	if ( !(base & 1 << position) ) pc = new_address;
27 }
28