Class: AArch64::Parser::FourArg

Inherits:
Struct
  • Object
show all
Defined in:
lib/aarch64/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#aObject

Returns the value of attribute a



147
148
149
# File 'lib/aarch64/parser.rb', line 147

def a
  @a
end

#bObject

Returns the value of attribute b



147
148
149
# File 'lib/aarch64/parser.rb', line 147

def b
  @b
end

#cObject

Returns the value of attribute c



147
148
149
# File 'lib/aarch64/parser.rb', line 147

def c
  @c
end

#dObject

Returns the value of attribute d



147
148
149
# File 'lib/aarch64/parser.rb', line 147

def d
  @d
end

Instance Method Details

#apply(asm, name) ⇒ Object



148
149
150
# File 'lib/aarch64/parser.rb', line 148

def apply asm, name
  asm.public_send(name, a, b, c, d)
end