Package iota
Class NLirRead
java.lang.Object
iota.NLirInstruction
iota.NLirRead
Representation of an instruction for reading an integer from standard input into a register.
-
Field Summary
Fields inherited from class iota.NLirInstruction
block, id, lir2Marvin, mnemonic, reads, write
-
Constructor Summary
ConstructorsConstructorDescriptionNLirRead
(NBasicBlock block, int id, NRegister register) Constructs an NLirRead object. -
Method Summary
Methods inherited from class iota.NLirInstruction
id
-
Constructor Details
-
NLirRead
Constructs an NLirRead object.- Parameters:
block
- enclosing basic block.id
- instruction id.register
- register to read into.
-
-
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.
-