⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zxh.asm

📁 一个汇编写的Win32围棋程序.测试版本.
💻 ASM
字号:


Message MACRO  msg 
	LOCAL MsgA
	LOCAL CaptionA
	.data
	MsgA		db	msg, 0
	CaptionA	db	'Debug info', 0
	.code
	pushad
	invoke	MessageBox, hWinMain, offset MsgA, offset CaptionA, MB_OK
	popad
 ENDM

MessageHex	MACRO mhHex
	LOCAL	szBuffer
	LOCAL	szFormat
	LOCAL	szCaption
	.data
	szCaption	db	'调式显示值',0
	szFormat	db	'值:%08x',0
	szBuffer	byte	50 dup(0)
	.code
	pushad
	invoke	wsprintf,addr szBuffer,addr szFormat, mhHex
	invoke	MessageBox,hWinMain,addr szBuffer,offset szCaption,MB_OK
	popad
ENDM

MessageHexOC	MACRO mhHex
	LOCAL	Return
	LOCAL	szBuffer
	LOCAL	szFormat
	LOCAL	szCaption
	.data
	szCaption	db	'调式显示值',0
	szFormat	db	'值:%08x',0
	szBuffer	byte	50 dup(0)
	Return		dword	?

	.code
	pushad
	invoke	wsprintf,addr szBuffer,addr szFormat, mhHex
	invoke	MessageBox,hWinMain,addr szBuffer,offset szCaption,MB_OKCANCEL
	mov	Return, eax
	popad
	mov	eax, Return
ENDM


;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;

⌨️ 快捷键说明

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