public final class SimpleInsn extends FixedSizeInsn
| Constructor and Description |
|---|
SimpleInsn(Dop opcode,
SourcePosition position,
RegisterSpecList registers)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
argString()
Gets the string form for any arguments to this instance.
|
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 |
withRegisters(RegisterSpecList registers)
Returns an instance that is just like this one, except that the
register list is replaced by the given one, and its address is
reset.
|
codeSize, listingString0, withRegisterOffset, writeTocstComment, cstString, expandedPrefix, expandedSuffix, expandedVersion, getAddress, getLowRegVersion, getMinimumRegisterRequirement, getNextAddress, getOpcode, getPosition, getRegisters, hasAddress, hasResult, identifierString, listingString, makeMove, setAddress, toString, withMapperpublic SimpleInsn(Dop opcode, SourcePosition position, RegisterSpecList registers)
-1).opcode - the opcode; one of the constants from Dopsposition - non-null; source positionregisters - non-null; register list, including a
result register if appropriate (that is, registers may be either
ins or outs)public DalvInsn withOpcode(Dop opcode)
withOpcode in class DalvInsnopcode - non-null; the new opcodenon-null; an appropriately-constructed instancepublic DalvInsn withRegisters(RegisterSpecList registers)
withRegisters in class DalvInsnregisters - non-null; new register listnon-null; an appropriately-constructed instanceCopyright © 2020. All Rights Reserved.