Powerpc Uisa Instructions; Integer Instructions; Table 2-7. Integer Arithmetic Instructions - IBM PowerPC 750GX User Manual

Risc microprocessor
Table of Contents

Advertisement

User's Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
Summary" in the PowerPC Microprocessor Family: The Programming Environments Manual. These categori-
zations are somewhat arbitrary and are provided for the convenience of the programmer and do not neces-
sarily reflect the PowerPC Architecture specification.
Note that some instructions have the following optional features:
• CR Update—The dot (.) suffix on the mnemonic enables the update of the CR.
• Overflow option—The o suffix indicates that the overflow bit in the XER is enabled.

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, which consist of:
• 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.
Integer Arithmetic Instructions
Table 2-7 lists the integer arithmetic instructions for PowerPC processors.

Table 2-7. Integer Arithmetic Instructions

Name
Add Immediate
Add Immediate Shifted
Add
Subtract From
Add Immediate Carrying
Add Immediate Carrying and Record
Subtract from Immediate Carrying
Add Carrying
Subtract from Carrying
Add Extended
Subtract from Extended
Add to Minus One Extended
Subtract from Minus One Extended
Programming Model
Page 92 of 377
(Page 1 of 2)
Mnemonic
addi
addis
add (add. addo addo.)
subf (subf. subfo subfo.)
addic
addic.
subfic
addc (addc. addco addco.)
subfc (subfc. subfco subfco.)
adde (adde. addeo addeo.)
subfe (subfe. subfeo subfeo.)
addme (addme. addmeo addmeo.)
subfme (subfme. subfmeo subfmeo.)
Syntax
rD,rA,SIMM
rD,rA,SIMM
rD,rA,rB
rD,rA,rB
rD,rA,SIMM
rD,rA,SIMM
rD,rA,SIMM
rD,rA,rB
rD,rA,rB
rD,rA,rB
rD,rA,rB
rD,rA
rD,rA
gx_02.fm.(1.2)
March 27, 2006

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerpc 750gl

Table of Contents