xref: /netbsd-src/external/gpl3/gdb.old/dist/sim/testsuite/cr16/jump.cgs (revision 4439cfd0acf9c7dc90625e5cd83b2317a9ab8967)
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