Class: AArch64::Instructions::HINT

Inherits:
Object
  • Object
show all
Defined in:
lib/aarch64/instructions/hint.rb

Overview

HINT – A64 Hint instruction HINT #<imm>

Instance Method Summary collapse

Constructor Details

#initialize(crm, op2) ⇒ HINT

Returns a new instance of HINT.



7
8
9
10
# File 'lib/aarch64/instructions/hint.rb', line 7

def initialize crm, op2
  @crm = crm
  @op2 = op2
end

Instance Method Details

#encodeObject



12
13
14
# File 'lib/aarch64/instructions/hint.rb', line 12

def encode
  HINT(@crm, @op2)
end