
Extremely Active Member
     
Group: Moderators
Posts: 287
Member No.: 5004
Joined: 11-May 07

|
I am converting some goasm code to masm and I am having some difficulties.
I tried using ASSUME fs:NOTHING, but that did not help.
The instructions that I am using are what Ollydbg and IDA are showing.
Can someone help?
Thanks.
# ;FS PUSH ; )stack push dword ptr fs:[0] ; line 71 error A2108: use of register assumed to ERROR
;FS MOV # ,ESP ;point to structure just established on the stack mov dword ptr fs:[0],esp ; line 74 error A2108: use of register assumed to ERROR ; ;*********************** and now lets cause the exception ..
XOR ECX,ECX ;set ecx to zero DIV ECX ;divide by zero, causing exception
;*********************** because of the exception the code never gets to here
SAFE_PLACE: ;but the handler will jump to here ..
;FS POP # ;restore original exception handler from stack pop dword ptr fs:[0] ; line 86 error A2108: use of register assumed to ERROR
|