• in C51 ,SFR Bit ??
    Programe is following #,,,, sfr p0 = 0x80; sbit p10 = p0^0; sbit p11 = p0^1; void main(void) { ... fc(p10); } void fc(bit bv) { bv=1; ..... // delay bv=0; } but output of p10 is...
  • rearranging the bits of a sfr byte
    I have a board that I think is incorectly wired to a keypad and I want to change the way I send data to that port. I am trying to do somthing like this: struct keypad_pins1 { sbit row1 = P2^7; ...
  • SFR'S
    How do I view the contents of sfr's in the UV2 debugger?
  • SFR addressing question
    Where as all defined SFR's (IE ones that aren't reserved) fit within the range of S:080-S:0FF. So (considering the available IP variants) how can one address or even access S:000-S:07F or S:100-S:1FF...
  • 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...