ncdengine/engine/src/stackpointer.s
changeset 29 26b6f0522fd8
parent 25 98b66e4fb0be
child 30 398876c4ffa7
child 33 8110bf1194d1
equal deleted inserted replaced
25:98b66e4fb0be 29:26b6f0522fd8
     1 ;
       
     2 ; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 ; All rights reserved.
       
     4 ; This component and the accompanying materials are made available
       
     5 ; under the terms of "Eclipse Public License v1.0"
       
     6 ; which accompanies this distribution, and is available
       
     7 ; at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 ;
       
     9 ; Initial Contributors:
       
    10 ; Nokia Corporation - initial contribution.
       
    11 ;
       
    12 ; Contributors:
       
    13 ;
       
    14 ; Description: 
       
    15 ;
       
    16 
       
    17 
       
    18 ;.text
       
    19 ;.global GetStackPointer
       
    20 ;
       
    21 ;GetStackPointer:
       
    22 ;	mov r0,r13
       
    23 ;	mov pc,r14
       
    24 
       
    25 	AREA |.text|, CODE, READONLY
       
    26 	EXPORT GetStackPointer
       
    27 
       
    28 GetStackPointer
       
    29 	mov	r0,sp
       
    30 	bx lr
       
    31 	END