public final class ConcreteCall
extends java.lang.Object
ConcreteCall
class describes an instruction call with fixed arguments
which can be simulated. It also can hold objects are used by processing logic
to do some housekeeping job.Constructor and Description |
---|
ConcreteCall(AbstractCall abstractCall) |
ConcreteCall(AbstractCall abstractCall,
InstructionCall executable) |
ConcreteCall(AbstractCall abstractCall,
InstructionCall executable,
java.util.List<LabelReference> labelRefs) |
ConcreteCall(InstructionCall executable) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
execute(ProcessingElement processingElement)
Executes the instruction call on the specified processing element.
|
long |
getAddress() |
java.math.BigInteger |
getAlignment() |
int |
getByteSize() |
DataSection |
getData() |
InstructionCall |
getExecutable() |
int |
getExecutionCount() |
java.lang.String |
getImage() |
java.util.List<LabelReference> |
getLabelReferences() |
java.util.List<Label> |
getLabels() |
java.math.BigInteger |
getOrigin() |
java.util.List<Output> |
getOutputs() |
java.lang.String |
getText() |
boolean |
isExecutable() |
boolean |
isInstruction()
Checks whether the instruction call corresponds to a printable instruction
(executable instruction or pseudo instruction).
|
static ConcreteCall |
newComment(java.lang.String comment) |
static ConcreteCall |
newLine() |
static ConcreteCall |
newText(java.lang.String text) |
void |
resetExecutionCount() |
long |
setAddress(Section section,
long value) |
void |
setText(java.lang.String text) |
public ConcreteCall(AbstractCall abstractCall, InstructionCall executable)
public ConcreteCall(AbstractCall abstractCall, InstructionCall executable, java.util.List<LabelReference> labelRefs)
public ConcreteCall(AbstractCall abstractCall)
public ConcreteCall(InstructionCall executable)
public static ConcreteCall newText(java.lang.String text)
public static ConcreteCall newLine()
public static ConcreteCall newComment(java.lang.String comment)
public boolean isExecutable()
public InstructionCall getExecutable()
public boolean isInstruction()
true
if the call corresponds to a printable instruction or
false
if it is used to housekeeping purposes.public java.lang.String execute(ProcessingElement processingElement)
public int getExecutionCount()
public void resetExecutionCount()
public java.lang.String getText()
public void setText(java.lang.String text)
public java.lang.String getImage()
public java.util.List<Label> getLabels()
public java.util.List<LabelReference> getLabelReferences()
public java.util.List<Output> getOutputs()
public int getByteSize()
public long getAddress()
public long setAddress(Section section, long value)
public java.math.BigInteger getOrigin()
public java.math.BigInteger getAlignment()
public DataSection getData()