Class: AArch64::Instructions::HINT
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::HINT
- Defined in:
- lib/aarch64/instructions/hint.rb
Overview
HINT – A64 Hint instruction HINT #<imm>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(crm, op2) ⇒ HINT
constructor
A new instance of HINT.
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 = check_mask(crm, 0x0f) @op2 = check_mask(op2, 0x07) end |
Instance Method Details
#encode(_) ⇒ Object
12 13 14 |
# File 'lib/aarch64/instructions/hint.rb', line 12 def encode _ HINT(@crm, @op2) end |