[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Assembler Language Reference

mfcr (Move from Condition Register) Instruction

Purpose

Copies the contents of the Condition Register into a general-purpose register.

Syntax

mfcr RT

Description

The mfcr instruction copies the contents of the Condition Register into target general-purpose register (GPR) RT.

The mfcr instruction has one syntax form and does not affect the Fixed-Point Exception Register.

Parameters

RT Specifies target general-purpose register where result of operation is stored.

Examples

The following code copies the Condition Register into GPR 6:

# Assume the Condition Register contains 0x4055 F605.
mfcr 6
# GPR 6 now contains 0x4055 F605.

Related Information

Branch Processor.

Fixed-Point Move to or from Special-Purpose Registers Instructions.


[ Previous | Next | Contents | Home | Search ]