xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/jump.cgs (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# cr16 testcase for jmp (regp)
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global jmp
9jmp:
10	movd $ok1, (r4,r3)
11	jump  (r4,r3)
12	fail
13ok1:
14	movd $ok2, (r4,r3)
15	jump  (r4,r3)
16	fail
17ok2:
18	pass
19