Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

not able to compile c program with header #include<reg51.h>

#include <reg51.h>
#defind LED P2;
void main(void)
{
    P1=00;
    LED=0;
    for(;;)
    {
    P1++;
    LED++;
    }
}

will you please help me to compile the program?
where i have to put header file reg51.h in my fedora os. so that i can compile it easy
and how can i simulate that program on my fedora os?