tcsncat.h

来自「一个类似windows」· C头文件 代码 · 共 43 行

H
43
字号
/* $Id: tcsncat.h 21683 2006-04-21 15:15:18Z peterw $
 */

#include "tchar.h"

.globl _tcsncat

_tcsncat:
 push  %esi
 push  %edi
 mov   0x0C(%esp), %edi
 mov   0x10(%esp), %esi
 cld

 xor   %eax, %eax
 mov   $-1, %ecx
 repne _tscas
 _tdec(%edi)

 mov   0x14(%esp),%ecx

.L1:	
 dec   %ecx
 js    .L2
 _tlods
 _tstos
 test  %_treg(a), %_treg(a)
 jne   .L1
 jmp   .L3

.L2:
 xor   %eax, %eax
 _tstos

.L3:		
 mov   0x0C(%esp), %eax
 pop   %edi
 pop   %esi

 ret

/* EOF */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?