Instruction Set
13-3
Assembly Language Instructions

13.1.2 2-Operand Instructions

The ’C3x supports 35 2-operand arithmetic and logical instructions. The two

operands are the source and destination. The source operand can be a memory

word, a register, or a part of the instruction word. The destination operand is

always a register.

As shown in Table 13–2, these instructions provide integer, floating-point or

logical operations, and multiprecision arithmetic.

Table 13–2. 2-Operand Instructions
Instruction Description Instruction Description
ABSF Absolute value of a floating-
point number NORM Normalize floating-point value
ABSI Absolute value of an integer NOT Bitwise-logical complement
ADDCAdd integers with carry OR
Bitwise-logical OR
ADDFAdd floating-point values RND Round floating-point value
ADDIAdd integers ROL Rotate left
ANDBitwise-logical AND ROLC Rotate left through carry
ANDNBitwise-logical AND with
complement
ROR Rotate right
ASHArithmetic shift RORC Rotate right through carry
CMPFCompare floating-point values SUBBSubtract integers with borrow
CMPICompare integers SUBC Subtract integers conditionally
FIX Convert floating-point value to
integer SUBFSubtract floating-point values
FLOAT Convert integer to floating-point
value SUBISubtract integer
LSHLogical shift SUBRB Subtract reverse integer with
borrow
MPYFMultiply floating-point values SUBRF Subtract reverse floating-point
value
MPYIMultiply integers SUBRI Subtract reverse integer
NEGB Negate integer with borrow TSTBTest bit fields
NEGF Negate floating-point value XORBitwise-exclusive OR
NEGI Negate integer
2-and 3-operand versions