Hi guys. Look at this:
ml /c /coff /Cp Test.asm
MASM : fatal error A1016: Internal error
Version 8.00.40426.16
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 0041AE27 (00400000) "C:\masm32\bin\ml.exe"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 0000001D
CONTEXT:
Eax = 00001880 Esp = 0012F910
Ebx = 00463EA3 Ebp = 00001000
Ecx = 00313C2C Esi = 00313C78
Edx = 00000000 Edi = 00000000
Eip = 0041AE27 EFlags = 00010246
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 00000000 Dr3 = 00000000
Dr1 = 00000000 Dr6 = 00000000
Dr2 = 00000000 Dr7 = 00000000
It fails on constuctions like:
assume ebx:PTR MSG
mov EDI, offset [EBX].message
While constuctions like:
assume ebx:PTR MSG
invoke ProcName, addr [EBX].message, ...
works fine.
Is there nice alternative ways for failed case?
Yes,
Use a version of ML that is not in beta. 7.10, 7.00, 6.15 or 6.14 if you don't need SSE2 support.
I am m9ving this post to the Workshop as te MASM32 subforum is for project related questions.
PS : Welcome on board. :U
Should it be...?
assume ebx:PTR MSG
lea EDI, [EBX].message
Thanks, hutch and Tedd...
lea works fine :U