Next: Load Halfword Up: Insert Character Previous: Load and test

Load Complement

The two's complement of the second operand is placed in the first-operand location.

An overflow condition occurs when the maximum negative number is complemented; the number remains unchanged. The overflow causes a program interruption when the fixed-point overflow mask bit is one.

Resulting Condition Code:
0 ~ Result is zero
1 ~ Result is less than zero
2 ~ Result is greater than zero
3 ~ Overflow

Program Exceptions:
Fixed-Point Overflow

Programming Note
Zero remains unchanged by complementation.

See Extended Mnemonic Instructions on page



Next: Load Halfword Up: Insert Character Previous: Load and test


A.Daviel,TRIUMF