Powerpc Uisa Instmctions; Integer Instmctions; Integer Arithmetic Instmctions - Motorola MPC750 User Manual

Risc
Hide thumbs Also See for MPC750:
Table of Contents

Advertisement

2.3.4 PowerPC UISA Instructions
The PowerPC UISA includes the base user-level instruction set (excluding a few user-level
cache control, synchronization, and time base instructions), user-level registers,
programming model, data types, and addressing modes. This section discusses the
instructions defined in the UISA.
2.3.4.1 Integer Instructions
This section describes the integer instructions. These consist of the following:
Integer arithmetic instructions
Integer compare instructions
Integer logical instructions
Integer rotate and shift instructions
Integer instructions use the content of the GPRs as source operands and place results into
GPRs, into the integer exception register (XER), and into condition register (CR) fields.
2.3.4.1.1 Integer Arithmetic Instructions
Table 2-22 lists the integer arithmetic instructions for the PowerPC processors.
Table 2-22. Integer Arithmetic Instructions
Name
Mnemonic
Syntax
Add Immediate
addl
rD,rA,SIMM
Add Immediate Shifted
addis
rD,rA,SIMM
Add
add (add. addo addo.)
rD,rA,rB
Subtract From
subf (subf. subfo subfo.)
rD,rA,rB
Add Immediate Carrying
addie
rD,rA,SIMM
Add Immediate Carrying and Record
addle.
rD,rA,SIMM
Subtract from Immediate Carrying
subfle
rD,rA,SIMM
Add Carrying
adde (adde. addeo addeo.)
rD,rA,rB
Subtract from Carrying
subfe (subfe. subfeo subfeo.)
rD,rA,rB
Add Extended
adde (adde. addeo addeo.)
rD,rA,rB
Subtract from Extended
subfe (subfe. subfeo subfeo.)
rD,rA,rB
Add to Minus One Extended
addme (addme. addmeo addmeo.)
rD,rA
Subtract from Minus One Extended
subfme (subfme. subfmeo sUbfmeo.)
rD,rA
Add to Zero Extended
addze (addze. addzeo addzeo.)
rD,rA
Subtract from Zero Extended
subfze (subfze. subfzeo subfzeo.)
rD,rA
Negate
neg (neg. nego nego.)
rD,rA
Multiply Low Immediate
mulli
rD,rA,SIMM
2-38
MPC750 RISC Microprocessor User's Manual

Advertisement

Table of Contents
loading

Table of Contents