📄 apndstr.asm
字号:
include ..\cwlib.inc
scode
;-------------------------------------------------------------------------
;
;Append a string to another string.
;
;On Entry:
;
;ESI - source string.
;EDI - destination string to append to.
;
AppendString proc near
pushm eax,ecx,esi,edi
or ecx,-1
xor al,al
repne scasb ;Find end of destination string.
dec edi
push esi
xchg esi,edi
or ecx,-1
repne scasb
xchg esi,edi
neg ecx
inc ecx
pop esi
rep movsb
popm eax,ecx,esi,edi
ret
AppendString endp
efile
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -