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).