summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cr16/jump.cgs
blob: df20c151d83a7c63487d7a7e193604fd4fdf241b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# cr16 testcase for jmp (regp)
# mach(): cr16

	.include "testutils.inc"

	start

	.global jmp
jmp:
	movd $ok1, (r4,r3)
	jump  (r4,r3)
	fail
ok1:
	movd $ok2, (r4,r3)
	jump  (r4,r3)
	fail
ok2:
	pass