gdb/testsuite: Reduce gdb.threads/threadcrash.exp reliance on libc symbols
[binutils-gdb.git] / sim / testsuite / cr16 / loadb.cgs
blobc591ec9acea498bbd5f330b0064a8833ece857be
1 # cr16 testcase for loadb $sr,$dr
2 # mach(): cr16
4         .include "testutils.inc"
6         start
8         .global ldb
9 ldb:
10         movd $data_loc, (r4,r3)
11         movw $0,r5
13         loadb 0(r4,r3),r5
15         test_h_gr r5, 0x78 # little endian processor
17         pass
19 data_loc:
20         .word 0x5678