Class: Rips::Formats::AFormat

Inherits:
Format
  • Object
show all
Defined in:
lib/rips/formats/aformat.rb

Instance Attribute Summary collapse

Attributes inherited from Format

#args_number, #opcode

Instance Method Summary collapse

Methods inherited from Format

#set_arguments

Constructor Details

#initialize(opcode) ⇒ AFormat

@args: all instruction’s arguments



11
12
13
14
# File 'lib/rips/formats/aformat.rb', line 11

def initialize (opcode)
  super(opcode,0)
  @args = {}
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



8
9
10
# File 'lib/rips/formats/aformat.rb', line 8

def args
  @args
end