B Register
- Address: 0xF0.
- Size: 8-bit.
- Bit and Byte addressable.
- Used as an extension to the accumulator for multiply and divide instructions.
- Used along with A register.
- Used by MUL AB and DIV AB instructions.
- MUL AB: Multiplies 8-bit unsigned values in A and B and leaves the 16-bit result in A (low byte) and B (high byte).
- DIV AB: divided A by B, leaving the integer result in A and remainder in B.
- Often used as temporary storage register like a ninth R Register.
Related topics:
8051 Registers | 8051 Program Counter | 8051 R Registers | 8051 SFR | 8051 P Registers | 8051 Stack | 8051 Stack Pointer | 8051 Data Pointer | 8051 PCON Register | 8051 TCON Register | 8051 TMOD Register | 8051 Timer Registers | 8051 SCON Register | 8051 SBUF Register | 8051 IE Register | 8051 IP Register | 8051 PSW Register | 8051 A Register
List of topics: 8051
No comments:
Post a Comment