projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4f6795a88605620eeb4a70d4aa9145488bc99f4b
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
movb5.cgs
1
# sh testcase for mov.b r0, @($imm4, rm) -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
6
.include "compact/testutils.inc"
7
8
start
9
mov #0, r0
10
or #170, r0
11
mov r0, r3
12
mov #30, r2
13
mov.b r0, @(3, r2)
14
15
# Load the value back into a different register.
16
mov.b @(3, r2), r0
17
and #255, r0
18
cmp/eq r3, r0
19
bf wrong
20
21
okay:
22
pass
23
wrong:
24
fail
25
This page took
0.029426 seconds
and
3
git commands to generate.