mttar
Move To Target Address Register
mttar RS
Moves a GPR value to the TAR.
Details
Move To Target Address Register. Extended mnemonic for MTSPR (mtspr 815,RS). Copies register RS into the Target Address Register (TAR).
Pseudocode 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.
Example
mttar r3
Encoding
Binary Layout
31
0
RS
6
129
11
467
21
/
31
Operands
-
RS
Source