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

« back to all changes in this revision

Viewing changes to tests/cris/check_ret.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
# mach: crisv3 crisv8 crisv10
 
2
# output: 3\n
 
3
 
 
4
# Test that ret works.
 
5
 
 
6
 .include "testutils.inc"
 
7
 start
 
8
x:
 
9
 moveq 0,r3
 
10
 jsr z
 
11
w:
 
12
 quit
 
13
y:
 
14
 addq 1,r3
 
15
 checkr3 3
 
16
 quit
 
17
 
 
18
z:
 
19
 addq 1,r3
 
20
 move srp,r2
 
21
 add.d y-w,r2
 
22
 move r2,srp
 
23
 ret
 
24
 addq 1,r3
 
25
 quit