public abstract class ZeroSizeInsn extends DalvInsn
| Constructor and Description |
|---|
ZeroSizeInsn(SourcePosition position)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
codeSize()
Gets the size of this instruction, in 16-bit code units.
|
DalvInsn |
withOpcode(Dop opcode)
Returns an instance that is just like this one, except that its
opcode is replaced by the one given, and its address is reset.
|
DalvInsn |
withRegisterOffset(int delta)
Returns an instance that is just like this one, except that all
register references have been offset by the given delta, and its
address is reset.
|
void |
writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
argString, cstComment, cstString, expandedPrefix, expandedSuffix, expandedVersion, getAddress, getLowRegVersion, getMinimumRegisterRequirement, getNextAddress, getOpcode, getPosition, getRegisters, hasAddress, hasResult, identifierString, listingString, listingString0, makeMove, setAddress, toString, withMapper, withRegisterspublic ZeroSizeInsn(SourcePosition position)
-1).position - non-null; source positionpublic final int codeSize()
public final void writeTo(AnnotatedOutput out)
public final DalvInsn withOpcode(Dop opcode)
withOpcode in class DalvInsnopcode - non-null; the new opcodenon-null; an appropriately-constructed instancepublic DalvInsn withRegisterOffset(int delta)
withRegisterOffset in class DalvInsndelta - the amount to offset register references bynon-null; an appropriately-constructed instanceCopyright © 2020. All Rights Reserved.