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

*** error 65: access violation at C:0xFA00 : no 'execute/read' permission

my code

#include <REGX51.H>
void delay(unsigned int i)
{
        unsigned int j,k;
        for(j=0;j<=i;j++)
        {
                for (k=0;k<=1275;k++);
        }
}
void main (void)
{
        unsigned char mybyte;
        P1=0xff;
        mybyte=P1;
        delay(250);
        P2=mybyte;
}

0