Package iota
Class NMarvinStore
java.lang.Object
iota.NMarvinInstruction
iota.NMarvinStore
Representation of an instruction for storing a value from register into memory.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Offset (from base memory address) where the value will be stored (-1 if irrelevant, ie, if mnemonic is pushr).Value to store.Base memory address.Fields inherited from class iota.NMarvinInstruction
mnemonic, mnemonic2Op, pc
-
Constructor Summary
ConstructorsConstructorDescriptionNMarvinStore
(String mnemonic, NPhysicalRegister rX, NPhysicalRegister rY, int N) Constructs an NMarvinStore object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(PrintWriter out) Writes this instruction to the given output stream.
-
Field Details
-
rX
Value to store. -
rY
Base memory address. -
N
public int NOffset (from base memory address) where the value will be stored (-1 if irrelevant, ie, if mnemonic is pushr).
-
-
Constructor Details
-
NMarvinStore
Constructs an NMarvinStore object.- Parameters:
mnemonic
- instruction mnemonic.rX
- what to store.rY
- base memory address.N
- offset (from base memory address) where the value will be stored.
-
-
Method Details
-
write
Writes this instruction to the given output stream.- Specified by:
write
in classNMarvinInstruction
- Parameters:
out
- output stream.
-