projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3ad1b46f2c041de0d86bdcc8020db035f2a6963a
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
movb9.cgs
1
# sh testcase for mov.b @($imm8, gbr), r0 -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
6
.include "compact/testutils.inc"
7
8
start
9
mov #30, r0
10
shll8 r0
11
ldc r0, gbr
12
# Store something there first.
13
mov #0, r0
14
or #170, r0
15
mov r0, r7
16
mov.b r0, @(3, gbr)
17
# Load it back.
18
mov.b @(3, gbr), r0
19
and #255, r0
20
cmp/eq r7, r0
21
bf wrong
22
23
okay:
24
pass
25
26
wrong:
27
fail
This page took
0.029542 seconds
and
3
git commands to generate.