Class: Rips::Instructions::Bnez
- Inherits:
-
Instruction
- Object
- Instruction
- Rips::Instructions::Bnez
- Defined in:
- lib/rips/instructions/bnez.rb
Instance Attribute Summary collapse
-
#length ⇒ Object
readonly
Returns the value of attribute length.
-
#variables ⇒ Object
readonly
Returns the value of attribute variables.
Instance Method Summary collapse
-
#initialize ⇒ Bnez
constructor
@variables: types of instruction’s variables @length: length in bits for each variable.
Methods inherited from Instruction
#add_blank, #args_number, #code, #set_arguments
Constructor Details
Instance Attribute Details
#length ⇒ Object (readonly)
Returns the value of attribute length.
8 9 10 |
# File 'lib/rips/instructions/bnez.rb', line 8 def length @length end |
#variables ⇒ Object (readonly)
Returns the value of attribute variables.
8 9 10 |
# File 'lib/rips/instructions/bnez.rb', line 8 def variables @variables end |