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
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)
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.