aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/movxb.cgs
blob: 3c356c962ae5f6aa03d0e1592f8fdddef0184206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# cr16 testcase for movb  $imm4, reg
# mach(): cr16

	.include "testutils.inc"

	start

	.global movb
movb:
	movb $0xf, r4
	movw $0x1234, r5

	movxb r4, r5

	test_h_gr r5, 0xf

	pass