gdb/testsuite: Reduce gdb.threads/threadcrash.exp reliance on libc symbols
[binutils-gdb.git] / sim / testsuite / cr16 / jfs.cgs
blobc14f5651e28fe655c9020111a6345d8ee1e9c6b9
1 # cr16 testcase for jfs (repl)
2 # mach(): cr16
4         .include "testutils.inc"
6         start
8         .global jfs
9 jfs:
10         movd $ok, (r7,r6)
11         lshd $-1, (r7,r6)
13         mvi_h_condbit 0
14         movw $0xaa, r4
15         movw $0xaa, r5
16         addb r4, r5
17         jfs (r7,r6)
18 not_ok:
19         fail
20 ok:
21         pass