public class ImmediateOperandInstruction extends Instruction
| Modifier and Type | Field and Description |
|---|---|
static boolean |
allowAnyDeferredIntermediate
Set this to allow any immediate instruction to set its immediate field
after construction.
|
opcode| Constructor and Description |
|---|
ImmediateOperandInstruction(int opcode) |
ImmediateOperandInstruction(int opcode,
int immediate) |
| Modifier and Type | Method and Description |
|---|---|
int |
getImmediate() |
boolean |
isImmediate()
determine if instruction has immediate operands.
|
void |
setImmediate(int immediate)
Set the immediate field of a local register access instruction.
|
String |
toString() |
decodeOp, decodeOpcodeName, getOpcode, getOperand, getOperandCount, getTarget, hasOperands, isBranch, isExecutable, isReturn, isTargetableInstruction, isTransferOfControl, setOperands, setTarget, setTempRegisters, unsupportedpublic static final boolean allowAnyDeferredIntermediate
public ImmediateOperandInstruction(int opcode,
int immediate)
public ImmediateOperandInstruction(int opcode)
public String toString()
toString in class Instructionpublic int getImmediate()
getImmediate in class Instructionpublic boolean isImmediate()
isImmediate in class Instructionpublic void setImmediate(int immediate)
setImmediate in class InstructionCopyright © 2016 The Apache Software Foundation. All rights reserved.