public final class HighRegisterPrefix extends VariableSizeInsn
move* instructions to move a set of registers into
registers starting at 0 sequentially. This is used
in translating an instruction whose register requirements cannot
be met using a straightforward choice of a single opcode.| Constructor and Description |
|---|
HighRegisterPrefix(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.
|
int |
codeSize()
Gets the size of this instruction, in 16-bit code units.
|
protected java.lang.String |
listingString0(boolean noteIndices)
Helper for
DalvInsn.listingString(java.lang.String, int, boolean), which returns the string
form of this instance suitable for inclusion in a
human-oriented listing dump, not including the instruction
address and without respect for any output formatting. |
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.
|
void |
writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
withOpcode, withRegisterOffsetcstComment, cstString, expandedPrefix, expandedSuffix, expandedVersion, getAddress, getLowRegVersion, getMinimumRegisterRequirement, getNextAddress, getOpcode, getPosition, getRegisters, hasAddress, hasResult, identifierString, listingString, makeMove, setAddress, toString, withMapperpublic HighRegisterPrefix(SourcePosition position, RegisterSpecList registers)
-1).position - non-null; source positionregisters - non-null; source registerspublic int codeSize()
public void writeTo(AnnotatedOutput out)
public DalvInsn withRegisters(RegisterSpecList registers)
withRegisters in class DalvInsnregisters - non-null; new register listnon-null; an appropriately-constructed instanceprotected java.lang.String argString()
protected java.lang.String listingString0(boolean noteIndices)
DalvInsn.listingString(java.lang.String, int, boolean), which returns the string
form of this instance suitable for inclusion in a
human-oriented listing dump, not including the instruction
address and without respect for any output formatting. This
method should return null if this instance should
not appear in a listing.listingString0 in class DalvInsnnoteIndices - whether to include an explicit notation of
constant pool indicesnull-ok; the listing stringCopyright © 2020. All Rights Reserved.