Commit | Line | Data |
---|---|---|
7c27088c KB |
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) %G% | |
11 | */ | |
0aa4016b | 12 | |
6499767c | 13 | #include "align.h" |
0aa4016b SL |
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 | } |