repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gdb/testsuite: Reduce gdb.threads/threadcrash.exp reliance on libc symbols
[binutils-gdb.git]
/
sim
/
testsuite
/
cr16
/
loadb.cgs
blob
c591ec9acea498bbd5f330b0064a8833ece857be
1
# cr16 testcase for loadb $sr,$dr
2
# mach(): cr16
3
4
.include "testutils.inc"
5
6
start
7
8
.global ldb
9
ldb:
10
movd $data_loc, (r4,r3)
11
movw $0,r5
12
13
loadb 0(r4,r3),r5
14
15
test_h_gr r5, 0x78 # little endian processor
16
17
pass
18
19
data_loc:
20
.word 0x5678
21