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

	.include "testutils.inc"

	start

	.global movzb
movzb:
	movw $0x120f, r4
	movw $0x1200, r5

	movzb r4, r5

	test_h_gr r5, 0xf

	pass