.686
.model flat, stdcall
option casemap : none
; 声明引用的函数索引
include windows.inc
include user32.inc
include kernel32.inc
include masm32.inc
includelib user32.lib
includelib kernel32.lib
includelib masm32.lib
include macro.asm
.stack 4096
.data
w QWORD 0aabbcc55667788h
y QWORD 0eeff11223344h
s DWORD 3 dup (?)
Extended_Sub PROTO
.code
START :
main PROC
lea esi,w
lea edi,y
lea ebx,s
mov ecx,2
invoke Extended_Sub
invoke ExitProcess, 0
main ENDP
Extended_Sub proc
pushad
clc
@@:mov eax,[esi]
sbb eax,[edi]
pushfd
mov [ebx],eax
add esi,4
add edi,4
add ebx,4
popfd
loop @b
mov DWORD ptr [ebx],0
sbb DWORD ptr [ebx],0
popad
ret
Extended_Sub endp
end START
---贴吧极速版 For UWP