mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
28 lines
629 B
ArmAsm
28 lines
629 B
ArmAsm
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifdef __LP64__
|
|
.LEVEL 2.0W
|
|
#else
|
|
.LEVEL 1.1
|
|
#endif
|
|
|
|
.CODE ; equivalent to the following two lines
|
|
; .SPACE $TEXT$,SORT=8
|
|
; .SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=0x2c,CODE_ONLY,SORT=24
|
|
|
|
ret_cr16
|
|
.PROC
|
|
.CALLINFO FRAME=0, NO_CALLS
|
|
.EXPORT ret_cr16,ENTRY
|
|
.ENTRY
|
|
; BV %r0(%rp)
|
|
BV 0(%rp)
|
|
MFCTL %cr16,%ret0
|
|
BV %r0(%rp)
|
|
.EXIT
|
|
NOP
|
|
.PROCEND
|
|
.END
|