summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cr16/br.cgs
blob: f7ba86dde378aa870afc11cfbd461a217a5744c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# cr16 testcase for bc $disp24
# mach(): cr16

	.include "testutils.inc"

	start

	.global bc24
bc24:

	mvi_h_condbit 0
	bne test0fail
	br test0pass
test0fail:
	fail
test0pass:

	mvi_h_condbit 1
	bne test1pass
	fail
test1pass:

	pass