2 ;llshr.asm - long shift right
4 ; Copyright (c) Microsoft Corporation. All rights reserved.
5 ; SPDX-License-Identifier: BSD-2-Clause-Patent
8 ; define signed long shift right routine
11 ;Original Implemenation: MSVC 14.12.25827
13 ;*******************************************************************************
21 ;llshr - long shift right
24 ; Does a signed Long Shift Right
25 ; Shifts a long right any number of bits.
28 ; EDX:EAX - long value to be shifted
29 ; CL - number of bits to shift by
32 ; EDX:EAX - shifted value
39 ;*******************************************************************************
43 ; Handle shifts of 64 bits or more (if shifting 64 bits or more, the result
44 ; depends only on the high order bit of edx).
50 ; Handle shifts of between 0 and 31 bits
59 ; Handle shifts of between 32 and 63 bits
69 ; Return double precision 0 or -1, depending on the sign of edx