Appendix E. Processor Core Register Summary
E-9
PowerPC Register Set
E.1.1.6 Link Register (LR)
The format of LR is shown in Figure E-7.
Figure E-7. Link Register (LR)
E.1.1.7 Count Register (CTR)
The CTR is shown in Figure E-8.
Figure E-8. Count Register (CTR)
The encoding for the BO field is shown in Table E-7.
2
CA
Carry. The carry bit (CA) is set during execution of the following instructions:
• Add carrying, subtract from carrying, add extended, and subtract from extended instructions
set CA if there is a carry out of the msb, and clear it otherwise.
• Shift right algebraic instructions set CA if any 1 bits have been shifted out of a negative
operand, and clear it otherwise.
The CA bit is not altered by compare instructions, nor by other instructions that cannot carry
(except shift right algebraic, mtspr to the XER, and mcrxr).
3–24
—
Reserved
25–31
This field specifies the number of bytes to be transferred by a Load String Word Indexed (lswx) or
Store String Word Indexed (stswx) instruction.
Table E-7. BO Operand Encodings
BO
Description
0000y
Decrement the CTR, then branch if the decremented CTR
≠
0 and the condition is FALSE.
0001y
Decrement the CTR, then branch if the decremented CTR = 0 and the condition is FALSE.
001zy
Branch if the condition is FALSE.
0100y
Decrement the CTR, then branch if the decremented CTR
≠
0 and the condition is TRUE.
0101y
Decrement the CTR, then branch if the decremented CTR = 0 and the condition is TRUE.
011zy
Branch if the condition is TRUE.
1z00y
Decrement the CTR, then branch if the decremented CTR
≠
0.
1z01y
Decrement the CTR, then branch if the decremented CTR = 0.
Table E-6. XER Bit Definitions (Continued)
Bit(s)
Name
Description
Branch Address
0
31
CTR
0
31
Summary of Contents for MPC8240
Page 1: ...MPC8240UM D Rev 1 1 2001 MPC8240 Integrated Processor User s Manual ...
Page 38: ...xviii MPC8240 Integrated Processor User s Manual TABLES Table Number Title Page Number ...
Page 48: ...xlviii MPC8240 Integrated Processor User s Manual Acronyms and Abbreviations ...
Page 312: ...6 94 MPC8240 Integrated Processor User s Manual ROM Flash Interface Operation ...
Page 348: ...7 36 MPC8240 Integrated Processor User s Manual PCI Host and Agent Modes ...
Page 372: ...8 24 MPC8240 Integrated Processor User s Manual DMA Register Descriptions ...
Page 394: ...9 22 MPC8240 Integrated Processor User s Manual I2O Interface ...
Page 412: ...10 18 MPC8240 Integrated Processor User s Manual Programming Guidelines ...
Page 454: ...12 14 MPC8240 Integrated Processor User s Manual Internal Arbitration ...
Page 466: ...13 12 MPC8240 Integrated Processor User s Manual Exception Latencies ...
Page 516: ...16 14 Watchpoint Trigger Applications ...
Page 538: ...B 16 MPC8240 Integrated Processor User s Manual Setting the Endian Mode of Operation ...
Page 546: ...C 8 MPC8240 Integrated Processor User s Manual ...
Page 640: ...INDEX Index 16 MPC8240 Integrated Processor User s Manual ...