📄 fmemcmp.asm
字号:
;*;* $Id: fmemcmp.asm,v 1.1.1.1 2002/03/28 00:02:55 andrew_belov Exp $;* ---------------------------------------------------------------------------;* This file provides a far memory comparision routine.;*INCLUDE ASM_INCL.INC;*;* Exported stubs;*public far_memcmp.CODE _TEXT;*;* Comprares two FAR memory blocks;*far_memcmp proc, str1:dword, str2:dword, len:word push ds push es push si push di push cx mov cx, len jcxz @matched cld lds si, str1 les di, str2 repe cmpsb jcxz @matched mov ax, 1 jmp short @ret@matched: sub ax, ax@ret: pop cx pop di pop si pop es pop ds retfar_memcmp endp end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -