EasyManua.ls Logo

Motorola MPC823e - Page 1168

Motorola MPC823e
1353 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MPC823e Instruction Set—addi
B-10 MPC823e REFERENCE MANUAL MOTOROLA
INSTRUCTION SET
B
addi
Assembler Syntax addi rD,rA,SIMM)
Definition Add Immediate
Operation if rA = 0 then rD " EXTS(SIMM)
else rD " rA + EXTS(SIMM)
Description The sum (rA|0) + SIMM is placed into rD.
The addi instruction is preferred for addition because it sets few
status bits. Note that addi uses the value 0, not the contents of
GPR0, if rA = 0.
Other registers altered:
None
Simplified mnemonics:
BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FIELD 14 D A
BIT 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
FIELD SIMM
li rD,value
equivalent to
addi rD,0,value
la rD,disp(rA)
equivalent to
addi rD,rA,disp
subi rD,rA,value
equivalent to
addi rD,rA,–value
POWERPC ARCHITECTURE
LEVEL
SUPERVISOR
LEVEL
OPTIONAL FORM
UISA D

Table of Contents

Related product manuals