summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cr16/addb.cgs
blob: 272804ae407382ac342fdc7c8209617b817fc758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# cr16 testcase for addb $sr, reg
# mach(): cr16 

	.include "testutils.inc"

	start

	.global add
add:

	movb $0x1234,r4
	movb $0x1234,r5
	addb r4, r5
	test_h_gr r5, 0x68

	pass