1	.LEVEL 2.0
2	.code
3	.align 4
4; More branching instructions than you ever knew what to do with.
5; PA 2.0 versions and new syntax.
6
7;
8; We could/should test some of the corner cases for register and
9; immediate fields.  We should also check the assorted field
10; selectors to make sure they're handled correctly.
11
12bb_tests:
13	bb,< %r4,%sar,bb_tests
14	bb,>= %r4,%sar,bb_tests
15	bb,<,n %r4,%cr11,bb_tests
16	bb,>=,n %r4,%cr11,bb_tests
17	bb,*< %r4,%sar,bb_tests
18	bb,*>= %r4,%sar,bb_tests
19	bb,*<,n %r4,%cr11,bb_tests
20	bb,*>=,n %r4,%cr11,bb_tests
21	bb,*< %r4,5,bb_tests
22	bb,*>= %r4,5,bb_tests
23	bb,*<,n %r4,5,bb_tests
24	bb,*>=,n %r4,5,bb_tests
25
26branch_stack:
27	clrbts
28	popbts 1
29	popbts 499
30	pushnom
31	pushbts %r4
32
33