xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/addb.cgs (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# cr16 testcase for addb $sr, reg
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global add
9add:
10
11	movb $0x1234,r4
12	movb $0x1234,r5
13	addb r4, r5
14	test_h_gr r5, 0x68
15
16	pass
17