Computer Hardware User's Guide
Instruction Set
13-2
13.1 Instruction Set
The ’C3x instruction set is well suited to digital signal processing and other
numeric-intensive applications. All instructions are a single machine word
long, and most instructions require one cycle to execute. In addition to multiply
and accumulate instructions, the ’C3x possesses a full complement of general-
purpose instructions.
The instruction set contains 113 instructions organized into the following func-
tional groups:
Load and store
2-operand arithmetic/logical
3-operand arithmetic/logical
Program control
Interlocked operations
Parallel operations
Each of these groups is discussed in the following subsections.
13.1.1 Load and Store Instructions
The ’C3x supports 13 load and store instructions (see Table 13–1). These
instructions can:
Load a word from memory into a register
Store a word from a register into memory
Manipulate data on the system stack
Two of these instructions can load data conditionally. This is useful for locating
the maximum or minimum value in a data set. See Section 13.5 on page 13-28
for detailed information on condition codes.
Table 13–1. Load and Store Instructions
Instruction Description Instruction Description
LDE Load floating-point exponent POP Pop integer from stack
LDF Load floating-point value POPF Pop floating-point value from stack
LDF
cond
Load floating-point value
conditionally
PUSH Push integer on stack
LDI Load integer PUSHF
Push floating-point value on stack
LDI
cond
Load integer conditionally STF Store floating-point value
LDM Load floating-point mantissa STI
Store integer
LDP
Load data page pointer