Class: Tataru::Instructions::ImmediateModeInstruction
- Inherits:
-
Tataru::Instruction
- Object
- Tataru::Instruction
- Tataru::Instructions::ImmediateModeInstruction
- Defined in:
- lib/tataru/instructions/immediate_mode_instruction.rb
Overview
instruction that takes a parameter
Direct Known Subclasses
CallInstruction, CompareInstruction, GotoIfInstruction, KeyInstruction, ValueInstruction, ValueRomInstruction, ValueUpdateInstruction
Instance Attribute Summary
Attributes inherited from Tataru::Instruction
Instance Method Summary collapse
-
#initialize(param) ⇒ ImmediateModeInstruction
constructor
A new instance of ImmediateModeInstruction.
Methods inherited from Tataru::Instruction
Constructor Details
#initialize(param) ⇒ ImmediateModeInstruction
Returns a new instance of ImmediateModeInstruction.
7 8 9 |
# File 'lib/tataru/instructions/immediate_mode_instruction.rb', line 7 def initialize(param) @param = param end |