aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cr16/movzb.cgs
blob: e4de4b06e66ffe74f7c606b222be9c8823851725 (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:
	movw $0x120f, r4
	movw $0x1200, r5

	movzb r4, r5

	test_h_gr r5, 0xf

	pass