com.ibm.dtfj.image
Interface ImageRegister


public interface ImageRegister

Represents the state of a CPU or FPU register

TODO How should special registers (e.g. flags registers) be represented?


Method Summary
 java.lang.String getName()
           
 java.lang.Number getValue()
           
 

Method Detail

getName

public java.lang.String getName()
Returns:
the conventional name of the register

getValue

public java.lang.Number getValue()
                          throws CorruptDataException
Returns:
an integral or floating point type which contains the value for the register. The returned value may be an instance of any subclass of Number. For instance, on x86 architectures with MMX, the XMM registers will be returned as BigInteger instances
Throws:
CorruptDataException