xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/jlt.cgs (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
1# cr16 testcase for jlt (regp)
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global jlt
9jlt:
10	movd $ok, (r7,r6)
11        lshd $-1, (r7,r6)
12
13	mvi_h_condbit 0
14	movw $1, r4
15	movw $2, r5
16	cmpw r4, r5
17	jlt (r7,r6)
18not_ok:
19	fail
20ok:
21	pass
22