Package iota

Class NPhysicalRegister

java.lang.Object
iota.NRegister
iota.NPhysicalRegister

class NPhysicalRegister extends NRegister
Representation of a physical register in Marvin.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Frame pointer register, fp.
    static final int
    Maximum number of temporary registers available for allocation.
    static final int
    Temporary register, R0.
    static final int
    Temporary register, R1.
    static final int
    Temporary register, R10.
    static final int
    Temporary register, R11.
    static final int
    Temporary register, R2.
    static final int
    Temporary register, R3.
    static final int
    Temporary register, R4.
    static final int
    Temporary register, R5.
    static final int
    Temporary register, R6.
    static final int
    Temporary register, R7.
    static final int
    Temporary register, R8.
    static final int
    Temporary register, R9.
    static final int
    Return address register, ra.
    static final NPhysicalRegister[]
    Maps register number to the register's representation.
    static final int
    Return value register, rv.
    static final int
    Stack pointer register, sp.

    Fields inherited from class iota.NRegister

    name, number
  • Constructor Summary

    Constructors
    Constructor
    Description
    NPhysicalRegister(int number, String name)
    Constructs an NPhysicalRegister object.
  • Method Summary

    Methods inherited from class iota.NRegister

    toPhysicalRegister, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait