• SFR access without keyword "sfr"
    Hi, I'm trying to access SFR memory using the hexa address of the SFR and using only "C" instructions. Since SFR memory is accessed by direct addressing mode, like the first 128 bytes of internal...
  • sfr P1 = 0x90; /* SFR for P1 */
    i was download the code from internet the program is start with these lines -------------------------------- sfr P1 = 0x90; /* SFR for P1 */ sbit P1_0 = P1^0; /* SFR for P1.0 */ sbit P1_1...
  • SFR
    Hallo everybody, can I overwrite the SFR and write other datas like constants. For example can I delete the ASC Registers because I don't need them?
  • SFR details
    i have a doubt in SFR. in SFR address for PORT 0 is 0x80; and P0_1=0x81; that means first pin of the port 0. For stack pointer address in the 8051 is 0x81, and how it working with this same address...
  • PBYTE to sfr?
    I have the following function: void usbReceive(PBYTE Buffer, BYTE size); and I want to pass an sfr to it: usbReceive(&P2, 1); I'm getting illegal pointer conversion Nevertheless, usbReceive...