2012-10-01 22:02:15 +04:00
|
|
|
/* 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/. */
|
2008-06-06 16:40:11 +04:00
|
|
|
|
|
|
|
#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
|
2011-08-19 19:27:10 +04:00
|
|
|
.ENTRY
|
2008-06-06 16:40:11 +04:00
|
|
|
; BV %r0(%rp)
|
|
|
|
BV 0(%rp)
|
|
|
|
MFCTL %cr16,%ret0
|
2011-08-19 19:27:10 +04:00
|
|
|
BV %r0(%rp)
|
|
|
|
.EXIT
|
|
|
|
NOP
|
2008-06-06 16:40:11 +04:00
|
|
|
.PROCEND
|
|
|
|
.END
|