* Sync up to trunk head (r64995).
[reactos.git] / lib / sdk / crt / string / i386 / tcsncat.inc
index 978108e..2b6fce6 100644 (file)
@@ -1,45 +1,45 @@
-/* $Id$
- */
-
-#include "tchar.h"
-#include <asm.inc>
-
-PUBLIC _tcsncat
-.code
-
-_tcsncat:
-    push esi
-    push edi
-    mov edi, [esp + 12]
-    mov esi, [esp + 16]
-    cld
-
-    xor eax, eax
-    mov ecx, -1
-    repne _tscas
-    _tdec(edi)
-
-    mov ecx, [esp + 20]
-
-.L1:
-    dec ecx
-    js .L2
-    _tlods
-    _tstos
-    test _treg(a), _treg(a)
-    jne .L1
-    jmp .L3
-
-.L2:
-    xor eax, eax
-    _tstos
-
-.L3:
-    mov eax, [esp + 12]
-    pop edi
-    pop esi
-
-    ret
-
-END
-/* EOF */
+\r
+#include "tchar.h"\r
+#include <asm.inc>\r
+\r
+PUBLIC _tcsncat\r
+.code\r
+\r
+FUNC _tcsncat\r
+    FPO 0, 3, 2, 2, 0, FRAME_FPO\r
+    push esi\r
+    push edi\r
+    mov edi, [esp + 12]\r
+    mov esi, [esp + 16]\r
+    cld\r
+\r
+    xor eax, eax\r
+    mov ecx, -1\r
+    repne _tscas\r
+    _tdec(edi)\r
+\r
+    mov ecx, [esp + 20]\r
+\r
+.L1:\r
+    dec ecx\r
+    js .L2\r
+    _tlods\r
+    _tstos\r
+    test _treg(a), _treg(a)\r
+    jne .L1\r
+    jmp .L3\r
+\r
+.L2:\r
+    xor eax, eax\r
+    _tstos\r
+\r
+.L3:\r
+    mov eax, [esp + 12]\r
+    pop edi\r
+    pop esi\r
+\r
+    ret\r
+ENDFUNC\r
+\r
+END\r
+/* EOF */\r