~ubuntu-branches/ubuntu/wily/qemu-kvm-spice/wily

« back to all changes in this revision

Viewing changes to tests/lm32/test_sh.S

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-10-19 10:44:56 UTC
  • Revision ID: james.westby@ubuntu.com-20111019104456-xgvskumk3sxi97f4
Tags: upstream-0.15.0+noroms
ImportĀ upstreamĀ versionĀ 0.15.0+noroms

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.include "macros.inc"
 
2
 
 
3
start
 
4
 
 
5
test_name SH_1
 
6
load r1 data
 
7
load r2 0xf0f1aaaa
 
8
sh (r1+0), r2
 
9
check_mem data 0xaaaa0000
 
10
 
 
11
test_name SH_2
 
12
load r2 0xf0f1bbbb
 
13
sh (r1+2), r2
 
14
check_mem data 0xaaaabbbb
 
15
 
 
16
test_name SH_3
 
17
load r2 0xf0f1cccc
 
18
sh (r1+-2), r2
 
19
check_mem data0 0x0000cccc
 
20
 
 
21
end
 
22
 
 
23
.data
 
24
        .align 4
 
25
data0:
 
26
        .byte 0, 0, 0, 0
 
27
data:
 
28
        .byte 0, 0, 0, 0
 
29
data1:
 
30
        .byte 0, 0, 0, 0