374
XMEGA B [DATASHEET]
8291B–AVR–01/2013
29.5.2 Pointer Register
The pointer register is used to store an address value that specifies locations within the PDIBUS address space. During
direct data access, the pointer register is updated by the specified number of address bytes given as operand bytes to an
instruction. During indirect data access, 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).
29.5.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.
29.5.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.
Summary of Contents for XMEGA B
Page 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Page 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Page 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Page 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Page 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...