Class RegisterManager


  • public class RegisterManager
    extends java.lang.Object
    • Method Detail

      • getContextBaseRegister

        public Register getContextBaseRegister()
        Returns context base register or null if one has not been defined by the language.
      • getRegister

        public Register getRegister​(Address addr)
        Returns the largest register located at the specified address
        Parameters:
        addr -
        Returns:
        largest register
      • getRegisters

        public Register[] getRegisters​(Address addr)
        Returns all registers located at the specified address
        Parameters:
        addr -
        Returns:
        largest register
      • getRegister

        public Register getRegister​(Address addr,
                                    int size)
        Returns the smallest register at the specified address whose size is greater than or equal the specified size.
        Parameters:
        addr - register address
        size - the size of the register (in bytes). A value of 0 will return the largest register at the specified addr
        Returns:
        register
      • getRegister

        public Register getRegister​(java.lang.String name)
        Returns the register with the given name;
        Parameters:
        name - the name of the register to retrieve
      • getRegisters

        public Register[] getRegisters()
        Return array of all registers.
        Returns:
        all registers
      • getSortedVectorRegisters

        public Register[] getSortedVectorRegisters()
        Returns the array of vector registers, sorted first by size and then by offset
        Returns:
        sorted vector registers