Class: AArch64::Instructions::ISB
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::ISB
- Defined in:
- lib/aarch64/instructions/isb.rb
Overview
ISB – A64 Instruction Synchronization Barrier ISB <option>|<option>|#<imm>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(imm) ⇒ ISB
constructor
A new instance of ISB.
Constructor Details
#initialize(imm) ⇒ ISB
Returns a new instance of ISB.
7 8 9 |
# File 'lib/aarch64/instructions/isb.rb', line 7 def initialize imm @imm = check_mask(imm, 0x0f) end |
Instance Method Details
#encode(_) ⇒ Object
11 12 13 |
# File 'lib/aarch64/instructions/isb.rb', line 11 def encode _ ISB @imm end |