public class SPARCRegister extends Register
Constructor and Description |
---|
SPARCRegister(int number)
Constructor for an explicitly numbered register
|
SPARCRegister(SPARCRegisterType type,
int number)
Constructor for an I, G, O, or L register
|
Modifier and Type | Method and Description |
---|---|
SPARCRegister |
afterRestore() |
SPARCRegister |
afterSave() |
int |
getNumberOfRegisters()
Must be overridden by subclass to indicate number of available
registers on this platform
|
boolean |
isFloat() |
boolean |
isFramePointer() |
boolean |
isGlobal() |
boolean |
isIn() |
boolean |
isLocal() |
boolean |
isOut() |
boolean |
isStackPointer() |
boolean |
isV9Only() |
long |
spOffsetInSavedWindow()
NOTE: this returns an offset in BYTES in this system!
|
java.lang.String |
toString() |
equals, getNumber, hashCode, isRegister, isValid
isAddress, isImmediate
public SPARCRegister(int number)
public SPARCRegister(SPARCRegisterType type, int number)
public int getNumberOfRegisters()
Register
getNumberOfRegisters
in class Register
public boolean isIn()
public boolean isLocal()
public boolean isOut()
public boolean isGlobal()
public SPARCRegister afterSave()
public SPARCRegister afterRestore()
public long spOffsetInSavedWindow()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isFramePointer()
isFramePointer
in class Register
public boolean isStackPointer()
isStackPointer
in class Register
public boolean isV9Only()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.