News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Help me " cannot open file c:\masm32\bin\ml.err "

Started by Vineel Kumar Reddy Kovvuri, May 12, 2007, 06:25:00 PM

Previous topic - Next topic

Vineel Kumar Reddy Kovvuri


hi everybody

i am new to assembly

when i compile any program that is  containing some sort of errors
the assembler is not giving the error messeage it is only displaying error codes
related to that error

for example if my program contains following instruction (invalid register sizes)


MOV eax,bx   ;invalid sizes


i am getting the following message


C:\masm32\MyWorking>ml /c /Cp /coff test.asm
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: test.asm
error A4910: cannot open file: C:\masm32\bin\ml.err
test.asm(11) : error A2022:


after err A2022:    i am not getting any detailed messege about the error . even more i am getting " cannot open file c:\masm32\bin\ml.err " message


plz help me

thx in advance



Tedd

There's a file, "ml.err", that should be in your "bin" folder of masm32 - possibly it's missing?
You might want to install the package again (I could just send you it, but if that's wrong there may be others so it's safest fix the whole lot :wink)
No snowflake in an avalanche feels responsible.

Vortex

vineel,

MOV eax,bx

You are trying to load a 16-bit register to a 32-bit register, this is why you receive the error message.