|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Operand.Constant
class encapsulates the notion of a constant operand to an
instruction.
Nested Class Summary |
Nested classes inherited from class avrora.core.Operand |
Operand.Constant, Operand.Register |
Method Summary | |
int |
getValue()
The getvalue() method returns the integer value of this constant operand. |
int |
getValueAsWord()
The getValueAsWord() method returns the value of this constant operand as
word-aligned; meaning, for addresses, it will divide by 2, but for immediate constants
it will not. |
Methods inherited from interface avrora.core.Operand |
asConstant, asRegister |
Method Detail |
public int getValue()
getvalue()
method returns the integer value of this constant operand.
public int getValueAsWord()
getValueAsWord()
method returns the value of this constant operand as
word-aligned; meaning, for addresses, it will divide by 2, but for immediate constants
it will not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |