[ASM]
[reactos.git] / reactos / lib / sdk / crt / math / i386 / aullshr_asm.s
index 1b9f2af..5d65f4b 100644 (file)
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
  * SUCH DAMAGE.
  */
-.globl __aullshr
-.intel_syntax noprefix
 
+#include <asm.inc>
+
+PUBLIC __aullshr
 /* FUNCTIONS ***************************************************************/
+.code
 
 //
 // ullshr - long shift right
@@ -65,13 +66,13 @@ __aullshr:
 // depends only on the high order bit of edx).
 //
         cmp     cl,64
-        jae     short ..RETZERO
+        jae     short .RETZERO
 
 //
 // Handle shifts of between 0 and 31 bits
 //
         cmp     cl, 32
-        jae     short ..MORE32
+        jae     short .MORE32
         shrd    eax,edx,cl
         shr     edx,cl
         ret
@@ -79,7 +80,7 @@ __aullshr:
 //
 // Handle shifts of between 32 and 63 bits
 //
-..MORE32:
+.MORE32:
         mov     eax,edx
         xor     edx,edx
         and     cl,31
@@ -89,7 +90,9 @@ __aullshr:
 //
 // return 0 in edx:eax
 //
-..RETZERO:
+.RETZERO:
         xor     eax,eax
         xor     edx,edx
         ret
+
+END