M
Micro-Power Simulator
uPOWER ISA is a (very small) subset of the POWER ISA v3.0. It is a 64bit ISA . All registers are 64 bits (numbered 0 (MSB) to 63 (LSB)).
22
Created on 22nd November 2020
•
M
Micro-Power Simulator
uPOWER ISA is a (very small) subset of the POWER ISA v3.0. It is a 64bit ISA . All registers are 64 bits (numbered 0 (MSB) to 63 (LSB)).
The problem Micro-Power Simulator solves
uPower ISA includes the following special registers :
- Link Register (LR) - 64 bits. Holds the return address after the function call instruction (bl).
- Condition Register (CR) - 32 bits. CR is updated by compare instructions. CR tracks the result of the compare for later use by the conditional branch
instructions. CR has eight 4-bit fields : CR0 (bits 32 ... 35) ... CR7 (bits 60 ... 63). Use CR7 in uPOWER. - Special Register R0 (SRR0): stores the NIA after the System call instruction (sc).
Discussion
Builders also viewed
See more projects on Devfolio