This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FATAL ERROR L210

When i compile the following code :
counsigned char a,b,value;

void main()
{
value = 0xF0;
a = (value >> 4) && 0x0F;
b = (value << 4) && 0x0F;
}

i get this error massage:

***FATAL ERROR L210 : I/O ERROR ON INPUT FILE
EXEPTION 0021H; PATH OR FILE NOT FOUND

Did anyone know what i can do???
FILE : TST.OBJ

Parents
  • When posting code, use the &ltpre&gt and &lt/pre&gt tags - see the "Tips for Posting Messages" link:

    void main()
    {
       value = 0xF0;
       a = (value >> 4) && 0x0F;
       b = (value << 4) && 0x0F;
    }

    The linker message means, as it says, that it couldn't find its input file TEST.OBJ.
    I presume that TEST.OBJ should be the result of compiling TEST.C?
    Did the compilation succeed?
    Does a TEST.OBJ exist? Is it in the correct folder for the linker to find it?

    BTW: in your 'C' code, do you really mean to use && (logical AND) or should that be & (bitwise AND)?

Reply
  • When posting code, use the &ltpre&gt and &lt/pre&gt tags - see the "Tips for Posting Messages" link:

    void main()
    {
       value = 0xF0;
       a = (value >> 4) && 0x0F;
       b = (value << 4) && 0x0F;
    }

    The linker message means, as it says, that it couldn't find its input file TEST.OBJ.
    I presume that TEST.OBJ should be the result of compiling TEST.C?
    Did the compilation succeed?
    Does a TEST.OBJ exist? Is it in the correct folder for the linker to find it?

    BTW: in your 'C' code, do you really mean to use && (logical AND) or should that be & (bitwise AND)?

Children