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