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