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