我在设置600 ecx对rep movsw,当它excutes它移动616个字节.该特定代码表示.
我错过了什么?
在代码之后,我包括两个Pdumps来显示移动的结果.第一个是原点,第二个是目的地.
; This program reads the contents of "E:\RaamSoft\SICBdata\SICBCONS201401.SLD" and
; outputs it to a File.
.486
include \masm32\include\masm32rt.inc
include \masm32\include\debug.inc
includelib \masm32\lib\debug.lib
; ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
.Const
RegFecSz equ 638
NxtRgFx equ 82
MEMORYSIZE equ 65536
; This is how much memory we'll allocate for Work Area.
.Data?
RetCode DWord ?
hFout HANDLE ?
hFfin HANDLE ?
hMemory HANDLE ?
pMemory DWord ?
ReadSize DWord ?
; l for Lengths; h for Handle & …Run Code Online (Sandbox Code Playgroud)