| Access | Constructor and Description |
|---|---|
| public | SimpleInsn(Dop
the opcode; one of the constants from opcode, SourcePosition Dopsnon-null; source positionnon-null; register list, including a
result register if appropriate (that is, registers may be either
ins or outs)Constructs an instance. |
| Modifier and Type | Method and Description |
|---|---|
| protected String | argString()
Implements abstract org. |
| public DalvInsn | withOpcode(Dop
non-null; the new opcodeImplements abstract org. |
| public DalvInsn | withRegisters(RegisterSpecList
non-null; new register listImplements abstract org. |
| SimpleInsn | back to summary |
|---|---|
| public SimpleInsn(Dop opcode, SourcePosition position, RegisterSpecList registers) Constructs an instance. The output address of this instance is initially
unknown (
| |
| argString | back to summary |
|---|---|
| protected String argString() Implements abstract org. Doc from org. Gets the string form for any arguments to this instance. Subclasses must override this. | |
| withOpcode | back to summary |
|---|---|
| public DalvInsn withOpcode(Dop opcode) Implements abstract org. Doc from org. Returns an instance that is just like this one, except that its opcode is replaced by the one given, and its address is reset. | |
| withRegisters | back to summary |
|---|---|
| public DalvInsn withRegisters(RegisterSpecList registers) Implements abstract org. Doc from org. 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.
| |