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, unsupported
public static final boolean allowAnyDeferredIntermediate
public ImmediateOperandInstruction(int opcode, int immediate)
public ImmediateOperandInstruction(int opcode)
public String toString()
toString
in class Instruction
public int getImmediate()
getImmediate
in class Instruction
public boolean isImmediate()
isImmediate
in class Instruction
public void setImmediate(int immediate)
setImmediate
in class Instruction
Copyright © 2016 The Apache Software Foundation. All rights reserved.