Register indirect, Register direct, two registers rd and rr, I/o direct – Rainbow Electronics ATtiny12 User Manual

Page 11: Attiny11/12

Advertising
background image

11

ATtiny11/12

1006C–09/01

Register Indirect

Figure 9. Indirect Register Addressing

The register accessed is the one pointed to by the Z-register (R31, R30).

Register Direct, Two Registers
Rd and Rr

Figure 10. Direct Register Addressing, Two Registers

Operands are contained in register r (Rr) and d (Rd). The result is stored in register d
(Rd).

I/O Direct

Figure 11. I/O Direct Addressing

Operand address is contained in 6 bits of the instruction word. n is the destination or
source register address.

REGISTER FILE

0

31

30

Z-register

Advertising