This article discusses the following extended mnemonics:
mfspr Extended Mnemonics for POWER | |||
Extended Mnemonic | Equivalent to | Privileged | SPR Name |
mfxer rt | mfspr rt,1 | no | XER |
mflr rt | mfspr rt,8 | no | LR |
mfctr rt | mfspr rt,9 | no | CTR |
mfmq rt | mfspr rt,0 | no | MQ |
mfrtcu rt | mfspr rt,4 | no | RTCU |
mfrtcl rt | mfspr rt,5 | no | RTCL |
mfdec rt | mfspr rt,6 | no | DEC |
mftid rt | mfspr rt,17 | yes | TID |
mfdsisr rt | mfspr rt,18 | yes | DSISR |
mfdar rt | mfspr rt,19 | yes | DAR |
mfsdr0 rt | mfspr rt,24 | yes | SDR0 |
mfsdr1 rt | mfspr rt,25 | yes | SDR1 |
mfsrr0 rt | mfspr rt,26 | yes | SRR0 |
mfsrr1 rt | mfspr rt,27 | yes | SRR1 |
mtspr Extended Mnemonics for POWER | |||
Extended Mnemonic | Equivalent to | Privileged | SPR Name |
mfxer rs | mtspr 1,rs | no | XER |
mflr rs | mtspr 8,rs | no | LR |
mtctr rs | mtspr 9,rs | no | CTR |
mtmq rs | mtspr 0,rs | no | MQ |
mtrtcu rs | mtspr 20,rs | yes | RTCU |
mtrtcl rs | mtspr 21,rs | yes | RTCL |
mtdec rs | mtspr 22,rs | yes | DEC |
mttid rs | mtspr 17,rs | yes | TID |
mtdsisr rs | mtspr 18,rs | yes | DSISR |
mtdar rs | mtspr 19,rs | yes | DAR |
mtsdr0 rs | mtspr 24,rs | yes | SDR0 |
mtsdr1 rs | mtspr 25,rs | yes | SDR1 |
mtsrr0 rs | mtspr 26,rs | yes | SRR0 |
mtsrr1 rs | mtspr 27,rs | yes | SRR1 |
mfspr Extended Mnemonics for PowerPC | |||
Extended Mnemonic | Equivalent to | Privileged | SPR Name |
mfxer rt | mfspr rt,1 | no | XER |
mflr rt | mfspr rt,8 | no | LR |
mfctr rt | mfspr rt,9 | no | CTR |
mfdsisr rt | mfspr rt,18 | yes | DSISR |
mfdar rt | mfspr rt,19 | yes | DAR |
mfdec rt | mfspr rt,22 | yes | DEC |
mfsdr1 rt | mfspr rt,25 | yes | SDR1 |
mfsrr0 rt | mfspr rt,26 | yes | SRR0 |
mfsrr1 rt | mfspr rt,27 | yes | SRR1 |
mfsprg rt,0 | mfspr rt,272 | yes | SPRG0 |
mfsprg rt,1 | mfspr rt,273 | yes | SPRG1 |
mfsprg rt,2 | mfspr rt,274 | yes | SPRG2 |
mfsprg rt,3 | mfspr rt,275 | yes | SPRG3 |
mfear rt | mfspr rt,282 | yes | EAR |
mfpvr rt | mfspr rt,287 | yes | PVR |
mfibatu rt,0 | mfspr rt,528 | yes | IBAT0U |
mfibatl rt,1 | mfspr rt,529 | yes | IBAT0L |
mfibatu rt,1 | mfspr rt,530 | yes | IBAT1U |
mfibatl rt,1 | mfspr rt,531 | yes | IBAT1L |
mfibatu rt,2 | mfspr rt,532 | yes | IBAT2U |
mfibatl rt,2 | mfspr rt,533 | yes | IBAT2L |
mfibatu rt,3 | mfspr rt,534 | yes | IBAT3U |
mfibatl rt,3 | mfspr rt,535 | yes | IBAT3L |
mfdbatu rt,0 | mfspr rt,536 | yes | DBAT0U |
mfdbatl rt,0 | mfspr rt,537 | yes | DBAT0L |
mfdbatu rt,1 | mfspr rt,538 | yes | DBAT1U |
mfdbatl rt,1 | mfspr rt,539 | yes | DBAT1L |
mfdbatu rt,2 | mfspr rt,540 | yes | DBAT2U |
mfdbatl rt,2 | mfspr rt,541 | yes | DBAT2L |
mfdbatu rt,3 | mfspr rt,542 | yes | DBAT3U |
mfdbatl rt,3 | mfspr rt,543 | yes | DBAT3L |
Note: The mfdec instruction is a privileged instruction in PowerPC. The encoding for this instruction in PowerPC differs from that in POWER. See the mfspr instruction for information on this instruction. Differences between POWER and PowerPC Instructions with the Same Op Code provides a summary of the differences for this instruction for POWER and PowerPC.
mtspr Extended Mnemonics for PowerPC | |||
Extended Mnemonic | Equivalent to | Privileged | SPR Name |
mtxer rs | mtspr 1,rs | no | XER |
mtlr rs | mtspr 8,rs | no | LR |
mtctr rs | mtspr 9,rs | no | CTR |
mtdsisr rs | mtspr 19,rs | yes | DSISR |
mtdar rs | mtspr 19,rs | yes | DAR |
mtdec rs | mtspr 22,rs | yes | DEC |
mtsdr1 rs | mtspr 25,rs | yes | SDR1 |
mtsrr0 rs | mtspr 26,rs | yes | SRR0 |
mtsrr1 rs | mtspr 27,rs | yes | SRR1 |
mtsprg 0,rs | mtspr 272,rs | yes | SPRG0 |
mtsprg 1,rs | mtspr 273,rs | yes | SPRG1 |
mtsprg 2,rs | mtspr 274,rs | yes | SPRG2 |
mtsprg 3,rs | mtspr 275,rs | yes | SPRG3 |
mtear rs | mtspr 282,rs | yes | EAR |
mttbl rs (or mttb rs) | mtspr 284,rs | yes | TBL |
mttbu rs | mtspr 285,rs | yes | TBU |
mtibatu 0,rs | mtspr 528,rs | yes | IBAT0U |
mtibatl 0,rs | mtspr 529,rs | yes | IBAT0L |
mtibatu 1,rs | mtspr 530,rs | yes | IBAT1U |
mtibatl 1,rs | mtspr 531,rs | yes | IBAT1L |
mtibatu 2,rs | mtspr 532,rs | yes | IBAT2U |
mtibatl 2,rs | mtspr 533,rs | yes | IBAT2L |
mtibatu 3,rs | mtspr 534,rs | yes | IBAT3U |
mtibatl 3,rs | mtspr 535,rs | yes | IBAT3L |
mtdbatu 0,rs | mtspr 536,rs | yes | DBAT0U |
mtdbatl 0,rs | mtspr 537,rs | yes | DBAT0L |
mtdbatu 1,rs | mtspr 538,rs | yes | DBAT1U |
mtdbatl 1,rs | mtspr 539,rs | yes | DBAT1L |
mtdbatu 2,rs | mtspr 540,rs | yes | DBAT2U |
mtdbatl 2,rs | mtspr 541,rs | yes | DBAT2L |
mtdbatu 3,rs | mtspr 542,rs | yes | DBAT3U |
mtdbatl 3,rs | mtspr 543,rs | yes | DBAT3L |
Note: The mfdec instruction is a privileged instruction in PowerPC. The encoding for this instruction in PowerPC differs from that in POWER. See the mfspr instruction for information on this instruction. "Differences between POWER and PowerPC Instructions with the Same Op Code" provides a summary of the differences for this instruction for POWER and PowerPC.
mfspr Extended Mnemonics for PowerPC 601 RISC Microprocessor | |||
Extended Mnemonic | Equivalent to | Privileged | SPR Name |
mfmq rt | mfspr rt,0 | no | MQ |
mfxer rt | mfspr rt,1 | no | XER |
mfrtcu rt | mfspr rt,4 | no | RTCU |
mfrtcl rt | mfspr rt,5 | no | RTCL |
mfdec rt | mfspr rt,6 | no | DEC |
mflr rt | mfspr rt,8 | no | LR |
mfctr rt | mfspr rt,9 | no | CTR |
mfdsisr rt | mfspr rt,18 | yes | DSISR |
mfdar rt | mfspr rt,19 | yes | DAR |
mfsdr1 rt | mfspr rt,25 | yes | SDR1 |
mfsrr0 rt | mfspr rt,26 | yes | SRR0 |
mfsrr1 rt | mfspr rt,27 | yes | SRR1 |
mfsprg rt,0 | mfspr rt,272 | yes | SPRG0 |
mfsprg rt,1 | mfspr rt,273 | yes | SPRG1 |
mfsprg rt,2 | mfspr rt,274 | yes | SPRG2 |
mfsprg rt,3 | mfspr rt,275 | yes | SPRG3 |
mfear rt | mfspr rt,282 | yes | EAR |
mfpvr rt | mfspr rt,287 | yes | PVR |
mtspr Extended Mnemonics for PowerPC 601 RISC Microprocessor | |||
Extended Mnemonic | Equivalent to | Privileged | SPR Name |
mtmq rs | mtspr 0,rs | no | MQ |
mtxer rs | mtspr 1,rs | no | XER |
mtlr rs | mtspr 8,rs | no | LR |
mtctr rs | mtspr 9,rs | no | CTR |
mtdsisr rs | mtspr 18,rs | yes | DSISR |
mtdar rs | mtspr 19,rs | yes | DAR |
mtrtcu rs | mtspr 20,rs | yes | RTCU |
mtrtcl rs | mtspr 21,rs | yes | RTCL |
mtdec rs | mtspr 22,rs | yes | DEC |
mtsdr1 rs | mtspr 25,rs | yes | SDR1 |
mtsrr0 rs | mtspr 26,rs | yes | SRR0 |
mtsrr1 rs | mtspr 27,rs | yes | SRR1 |
mtsprg 0,rs | mtspr 272,rs | yes | SPRG0 |
mtsprg 1,rs | mtspr 273,rs | yes | SPRG1 |
mtsprg 2,rs | mtspr 274,rs | yes | SPRG2 |
mtsprg 3,rs | mtspr 275,rs | yes | SPRG3 |
mtear rs | mtspr 282,rs | yes | EAR |
Extended Instruction Mnemonics Overview.
Extended Mnemonics of Branch Instructions.
Extended Mnemonics of Condition Register Logical Instructions.
Extended Mnemonics of Fixed-Point Arithmetic Instructions.
Extended Mnemonics of Fixed-Point Compare Instructions.
Extended Mnemonics of Fixed-Point Load Instructions.
Extended Mnemonics of Fixed-Point Logical Instructions.
Extended Mnemonics of Fixed-Point Trap Instructions.
Extended Mnemonics of Fixed-Point Rotate and Shift Instructions.
The mfspr (Move From Special-Purpose Register) instruction, mtspr (Move To Special-Purpose Register) instruction.