public abstract class VariableSizeInsn extends DalvInsn
| Constructor and Description |
|---|
VariableSizeInsn(SourcePosition position,
RegisterSpecList registers)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
argString, codeSize, cstComment, cstString, expandedPrefix, expandedSuffix, expandedVersion, getAddress, getLowRegVersion, getMinimumRegisterRequirement, getNextAddress, getOpcode, getPosition, getRegisters, hasAddress, hasResult, identifierString, listingString, listingString0, makeMove, setAddress, toString, withMapper, withRegisters, writeTopublic VariableSizeInsn(SourcePosition position, RegisterSpecList registers)
-1).position - non-null; source positionregisters - non-null; source registerspublic final DalvInsn withOpcode(Dop opcode)
withOpcode in class DalvInsnopcode - non-null; the new opcodenon-null; an appropriately-constructed instancepublic final DalvInsn withRegisterOffset(int delta)
withRegisterOffset in class DalvInsndelta - the amount to offset register references bynon-null; an appropriately-constructed instanceCopyright © 2020. All Rights Reserved.