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;
}

Parents
  • Why are you spamming the forum with identical posts?

    I could have given an answer mentioning a number of problems with my code. But I don't, since you assumed that other forum readers should ignore their normal time zones or should ignore that it is a weekend just to come jumping in and help you.

Reply
  • Why are you spamming the forum with identical posts?

    I could have given an answer mentioning a number of problems with my code. But I don't, since you assumed that other forum readers should ignore their normal time zones or should ignore that it is a weekend just to come jumping in and help you.

Children