Package iota
Class NLirWrite
java.lang.Object
iota.NLirInstruction
iota.NLirWrite
Representation of an instruction for writing an integer in a register to standard output.
-
Field Summary
Fields inherited from class iota.NLirInstruction
block, id, lir2Marvin, mnemonic, reads, write
-
Constructor Summary
ConstructorsConstructorDescriptionNLirWrite
(NBasicBlock block, int id, NRegister register) Constructs an NLirWrite object. -
Method Summary
Methods inherited from class iota.NLirInstruction
id
-
Constructor Details
-
NLirWrite
Constructs an NLirWrite object.- Parameters:
block
- enclosing basic block.id
- instruction id.register
- the register to write.
-
-
Method Details
-
toMarvin
public void toMarvin()Converts this instruction to the corresponding Marvin instruction.- Overrides:
toMarvin
in classNLirInstruction
-
toString
Returns a string representation of this instruction.- Overrides:
toString
in classNLirInstruction
- Returns:
- a string representation of this instruction.
-