symbian-qemu-0.9.1-12/qemu-symbian-svp/tests/cris/check_ret.s
author Mike Kinghan <mikek@symbian.org>
Wed, 04 Aug 2010 10:56:22 +0100
branchGCC_SURGE
changeset 93 07b904f40417
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Provisional fix for bug 3508 - Persistent storage support breaks Linux compatibility. Enables libnvmemmory.so to be built and dynamically linked on Linux and rom boot reports persistent storage image created OK, but ROM then crashes.

# mach: crisv3 crisv8 crisv10
# output: 3\n

# Test that ret works.

 .include "testutils.inc"
 start
x:
 moveq 0,r3
 jsr z
w:
 quit
y:
 addq 1,r3
 checkr3 3
 quit

z:
 addq 1,r3
 move srp,r2
 add.d y-w,r2
 move r2,srp
 ret
 addq 1,r3
 quit