Copies the contents of one condition register field into another.
mcrf | BF,BFA |
The mcrf instruction copies the contents of the condition register field specified by BFA into the condition register field specified by BF. All other fields remain unaffected.
The mcrf instruction has one syntax form and does not affect Condition Register Field 0 or the Fixed-Point Exception Register.
BF | Specifies target condition register field for operation. |
BFA | Specifies source condition register field for operation. |
The following code copies the contents of Condition Register Field 3 into Condition Register Field 2:
# Assume Condition Register Field 3 holds b'0110'. mcrf 2,3 # Condition Register Field 2 now holds b'0110'.