Package iota
Class NMarvinRead
java.lang.Object
iota.NMarvinInstruction
iota.NMarvinRead
Representation of an instruction for reading an integer from standard input into a register (target).
-
Field Summary
FieldsFields inherited from class iota.NMarvinInstruction
mnemonic, mnemonic2Op, pc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(PrintWriter out) Writes this instruction to the given output stream.
-
Field Details
-
rX
Target register.
-
-
Constructor Details
-
NMarvinRead
Constructs an NMarvinRead object.- Parameters:
rX
- target register.
-
-
Method Details
-
write
Writes this instruction to the given output stream.- Specified by:
write
in classNMarvinInstruction
- Parameters:
out
- output stream.
-