428
8331B–AVR–03/12
Atmel AVR XMEGA AU
addressing is based on an address already stored in the pointer register prior to the access
itself. Indirect data access can be optionally combined with pointer register post-increment. The
indirect access mode has an option that makes it possible to load or read the pointer register
without accessing any other registers. Any register update is performed in a little-endian fashion.
Hence, loading a single byte of the address register will always update the LSB while the most-
significant bytes are left unchanged.
The pointer register is not involved in addressing registers in the PDI control and status register
space (CSRS space).
32.6.3
Repeat Counter Register
The REPEAT instruction is always accompanied by one or more operand bytes that define the
number of times the next instruction should be repeated. These operand bytes are copied into
the repeat counter register upon reception. During the repeated executions of the instruction
immediately following the REPEAT instruction and its operands, the repeat counter register is
decremented until it reaches zero, indicating that all repetitions have completed. The repeat
counter is also involved in key reception.
32.6.4
Operand Count Register
Immediately after an instruction (except the LDCS and STCS instructions) a specified number of
operands or data bytes (given by the size parts of the instruction) are expected. The operand
count register is used to keep track of how many bytes have been transferred.