public abstract static class SPARCAssembler.ControlTransferOp extends SPARCAssembler.SPARCOp
Modifier and Type | Field and Description |
---|---|
private boolean |
delaySlot |
private SPARCAssembler.BitSpec |
disp |
private SPARCAssembler.Op2s |
op2 |
private SPARCAssembler.BitKey |
op2Key |
Modifier | Constructor and Description |
---|---|
private |
ControlTransferOp(SPARCAssembler.Ops op,
SPARCAssembler.Op2s op2,
boolean delaySlot,
SPARCAssembler.BitSpec disp) |
Modifier and Type | Method and Description |
---|---|
int |
getDisp(int inst) |
protected List<SPARCAssembler.BitKey> |
getKeys() |
boolean |
hasDelaySlot() |
abstract boolean |
isAnnulable(int inst) |
abstract boolean |
isConditional(int inst) |
boolean |
isValidDisp(int d) |
int |
setAnnul(int inst,
boolean a) |
protected int |
setBits(int word) |
int |
setDisp(int inst,
int d) |
protected int |
setDisp(int inst,
SPARCMacroAssembler masm,
Label lab) |
getOp, match, toString
private final SPARCAssembler.Op2s op2
private final boolean delaySlot
private final SPARCAssembler.BitSpec disp
private final SPARCAssembler.BitKey op2Key
private ControlTransferOp(SPARCAssembler.Ops op, SPARCAssembler.Op2s op2, boolean delaySlot, SPARCAssembler.BitSpec disp)
public boolean hasDelaySlot()
protected int setBits(int word)
setBits
in class SPARCAssembler.SPARCOp
protected int setDisp(int inst, SPARCMacroAssembler masm, Label lab)
public int setDisp(int inst, int d)
public boolean isValidDisp(int d)
public int setAnnul(int inst, boolean a)
protected List<SPARCAssembler.BitKey> getKeys()
getKeys
in class SPARCAssembler.SPARCOp
public int getDisp(int inst)
public abstract boolean isAnnulable(int inst)
public abstract boolean isConditional(int inst)