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

	.include "testutils.inc"

	start

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

	movxb r4, r5

	test_h_gr r5, 0xf

	pass