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

simple uC question

I want to place some data in an array and then call this method to execute:

unsigned char IAP_ProgramUserCodePage (
char idata * ptr,    // Pointer to data buffer in RAM
                           unsigned short   addr,   // Page address
                           unsigned char    nb)  {  // number of bytes to program
  ptr=ptr;                                        // avoid warnings
  addr = addr;
  nb = nb;
  IAP_key = 0x96;                                   // write key value
  ACC = 0;                                          // MOV  A,#00H
  return ((unsigned char (code *)(void)) 0xFF03)(); // LJMP 0FF00H
}

thanks alot
Khaled

0