Organisation Flashcards
ARM has a three-address format:
Rd — destination register
Rn — source register
Rm — source register
e.g. ADD R0,R1,R2.
Rn is used directly but where is Rm Passed through?
Rm is passed through the barrel shifter; a functional unit which can rotate and shift values. The result of this is called Operand2.
How is Register Bank, Barrel shifter, ALU and CPSR connected?
The two operands are processed by the ALU and the result written to which location of the register bank?
The destination register
Although it’s a register, we show the CPSR separately on the diagram to indicate that it may be used in both the barrel shifter and the ___ stages.
Although it’s a register, we show the CPSR separately on the diagram to indicate that it may be used in both the barrel shifter and the ALU stages.