在用匯編編寫代碼的過程中 發現自己的功底還是差一點 主要是動手太少 藉着這個機會 將不確定正確與否的代碼寫下來 與君共勉
mov ebx,3D48420h
mov ebx,dword ptr [ebx+11ach*4]
mov ebx,dword ptr [ebx+8] 這三句都是正確的
.if [ebx+8] == 2eh 錯誤
.endif
.if ebx+8 == 2eh 錯誤
.endif
.if ebx == 2eh 正確
.endif
.while ecx<3D48420h+11ach*4 正確
shl ebx,edi 錯誤 應用循環左移
namepianyi dd ?
mov al,namedizhi[ebx] ;這時這種寫法是錯誤的 應爲mov eax,namedizhi[ebx]