eg0317.asm

来自「宏汇编器」· 汇编 代码 · 共 21 行

ASM
21
字号
;eg0317.asm
	include io32.inc
	.data
string1	byte 'equal or not'	;first string
string2	byte 'eQual or not' 	;second string
count	equ sizeof string1
	.code
start:
	mov ecx,count
	mov esi,offset string1
	mov edi,offset string2
	cld
	repz cmpsb
	jne found
	mov al,'Y'
	jmp done
found:	mov al,'N'
done:	call dispc

	exit 0
	end start

⌨️ 快捷键说明

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