??? 04/07/08 13:04 Read: times Msg Score: +1 +1 Informative |
#153015 - Bit Addressing Responding to: ???'s previous message |
The second byte is E7 for ACC.7.
It is generated as: RRRRRBBB When the MSB is set, RRRRRxxx is the register address, and BBB is the bit within the register. Since the lower 3 bits are the bit address, the instruction can only work on every eighth SFR address. (80, 88, 90, 98, etc.) If the register is less than 80, then different rules apply. In that case, 000RRRRR is the SFR address of a ram location, and BBB is the bit address. That makes addresses 0-1Fh in the RAM bit addressable. |
Topic | Author | Date |
a query in 8051 instruction set....bit addressing | 01/01/70 00:00 | |
bible time | 01/01/70 00:00 | |
Assembler syntax. Looks ok to me. | 01/01/70 00:00 | |
Oops | 01/01/70 00:00 | |
David is right | 01/01/70 00:00 | |
thanks to all....query resolved | 01/01/70 00:00 | |
difficult to answer![]() | 01/01/70 00:00 | |
Bit Addressing | 01/01/70 00:00 | |
simple | 01/01/70 00:00 |