??? 05/18/06 18:58 Read: times |
#116553 - does thyis make sense Responding to: ???'s previous message |
sfr P1 0x90
sbit P1_0 = 0x90; sbit P1_1 = 0x91; is correct (just a different notation that you use) and, as you see the BIT address of the first bit is the same as the BYTE address of the SFR. Again, you do not need to worry about the correlation between bit and byte, just accept the fact that there is BIT address and BYTE address. Erik |
Topic | Author | Date |
SFR has thoroughly confused me... | 01/01/70 00:00 | |
bits and bytes | 01/01/70 00:00 | |
Hmmm... | 01/01/70 00:00 | |
Always | 01/01/70 00:00 | |
does thyis make sense | 01/01/70 00:00 | |
Why? | 01/01/70 00:00 | |
Yup. | 01/01/70 00:00 | |
of course it is![]() | 01/01/70 00:00 | |
sharpen them first | 01/01/70 00:00 | |
Ah ha! | 01/01/70 00:00 | |
paper and file | 01/01/70 00:00 | |
The best of both | 01/01/70 00:00 |