Open In App

PowerPC Architecture

PowerPC Architecture are microprocessor for personal computers. PowerPC is a RISC (Reduced Instruction Set Computer) architecture which are very powerful and low-cost microprocessors. RISC architecture tries to keep the processor as busy as possible. 

Design features of PowerPC are as follows: 



PowerPC machine Architecture: 

Register                   Operations
Link Register(LR)          Contain address to return at 
                           the end of the function call

Condition Register         Signify the result of an
(CR)                       instruction

Count Register             For Loop count
(CTR) 
bit 0 is the most significant bit, and 
bit 31 is the least significant bit 

Instructions are first decoded by the upper 6 bits in a field, called the primary opcode. The remaining 26 bits contain fields for operand specifiers, immediate operands, and extended opcodes, and these may be reserved bits or fields. 



Mode                      Target address(TA) calculation
Register indirect         TA=(register)

Register indirect         TA=(register-1) + (register-2)
with index

Register indirect         TA=(register) + displacement
with immediate
index 

Branch instructions use one of the following three addressing modes: 

Mode                      Target address(TA) calculation
Absolute                  TA=actual address

Relative                  TA=current instruction address + displacement

Link Register             TA=(LR) 

Count Register            TA=(CR) 

 

Article Tags :