xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/addb.cgs (revision 32d1c65c71fbdb65a012e8392a62a757dd6853e9)
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