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

	.include "testutils.inc"

	start

	.global macsw # REVISIT to update this testcase
macsw:
	movw  $0x123,r3
	movw  $0x456,r4
	macsw r3,r4, (r6,r5)
	test_h_grp "(r6,r5)", 0x4edc2

	pass