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

« back to all changes in this revision

Viewing changes to tests/lm32/test_eret.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 ERET_1
 
6
mvi r1, 2
 
7
wcsr IE, r1
 
8
load ea mark
 
9
eret
 
10
tc_fail
 
11
bi 1f
 
12
 
 
13
mark:
 
14
tc_pass
 
15
 
 
16
1:
 
17
test_name ERET_2
 
18
rcsr r3, IE
 
19
check_r3 3
 
20
 
 
21
test_name ERET_3
 
22
mvi r1, 0
 
23
wcsr IE, r1
 
24
load ea mark2
 
25
eret
 
26
tc_fail
 
27
bi 1f
 
28
 
 
29
mark2:
 
30
tc_pass
 
31
 
 
32
1:
 
33
test_name ERET_4
 
34
rcsr r3, IE
 
35
check_r3 0
 
36
 
 
37
end
 
38