mttar
Move To Target Address Register
mttar RS
Moves a GPR value to the TAR.
Encoding
Binary Layout
31
0:5
RS
6:10
129
11:20
467
21:30
/
31
Operands
-
RS
Source
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Move To Target Address Register. Extended mnemonic for MTSPR (mtspr 815,RS). Copies register RS into the Target Address Register (TAR).
Operation
TAR ← RS
Programming Note
The mttar instruction is used to copy a value from a general-purpose register (RS) into the Target Address Register (TAR). This register is typically used in conjunction with address translation operations. Ensure that the source register contains the correct address value before executing this instruction, as incorrect values can lead to unpredictable behavior or exceptions. This operation requires supervisor privilege level.