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

The problem Micro-Power Simulator solves

uPower ISA includes the following special registers :

  1. Link Register (LR) - 64 bits. Holds the return address after the function call instruction (bl).
  2. 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.
  3. Special Register R0 (SRR0): stores the NIA after the System call instruction (sc).

Technologies used

Discussion