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