aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/asm/bare1.ms
blob: 6c7d0d2394af562aed74e3c1c680fb9e5417390d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# mach: crisv32
# ld: --section-start=.text=0
# output: 0\n0\n4\n42\n
# sim: --cris-naked

; Check that we don't get signs of an initialized environment
; when --cris-naked.

 .include "testutils.inc"
 .text
 .global _start
_start:
 nop
 nop
start2:
 move.d $r10,$r3
 dumpr3
 move.d $sp,$r3
 dumpr3
 lapc start2,$r3
 dumpr3
 move.d 0x42,$r3
 dumpr3
 quit