
576
March 2002 Release
1-800-255-7778
Virtex-II Pro™ Platform FPGA Documentation
Chapter 11:
Instruction Set
R
addic
Add Immediate Carrying
Description
The SIMM field is sign-extended to 32 bits and added to the contents of register
r
A
.
The
resulting sum is loaded into register
r
D. XER[CA] is updated to reflect the unsigned
magnitude of the resulting sum.
Simplified mnemonics defined for this instruction are described in
Pseudocode
(
r
D)
←
(
r
A) + EXTS(SIMM)
if
(
r
D)
2
32
−
1
then XER[CA]
←
1
else
XER[CA]
←
0
Registers Altered
•
r
D.
•
XER[CA].
Exceptions
•
None.
Compatibility
This instruction is defined by the PowerPC user instruction-set architecture (UISA). It is
implemented by all PowerPC processors.
addic
r
D,
r
A, SIMM
D Instruction Form
12
r
D
r
A
SIMM
0
6
1
1
1
6
3
1
>
u