RetroZilla/security/nss/lib/freebl/ret_cr16.s

28 lines
629 B
ArmAsm
Raw Normal View History

2018-05-04 16:08:28 +02: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/. */
2015-10-21 05:03:22 +02: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
2018-05-04 16:08:28 +02:00
.ENTRY
2015-10-21 05:03:22 +02:00
; BV %r0(%rp)
BV 0(%rp)
MFCTL %cr16,%ret0
2018-05-04 16:08:28 +02:00
BV %r0(%rp)
.EXIT
NOP
2015-10-21 05:03:22 +02:00
.PROCEND
.END