mov指令的问题
一剑 2007-03-02 06:36:55 有如下代码:
invoke GetModuleFileName, hInstance, addr szDIR, MAX_PATH
invoke MessageBox, NULL, addr szDIR, "MSG", MB_OK
mov eax, addr szDIR <--------这里报错!!!
add eax, sizeof szDIR
invoke StrRChr, addr szDIR, eax, '\'
invoke RtlMoveMemory, [eax], "\\\0", 2
invoke MessageBox, NULL, addr szDIR, addr szMSG, MB_OK
MASM8报错提示:error A2008: syntax error : addr