Class: AArch64::Instructions::LD64B
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::LD64B
- Defined in:
- lib/aarch64/instructions/ld64b.rb
Overview
LD64B – A64 Single-copy Atomic 64-byte Load LD64B <Xt>, [<Xn|SP> ,,#0]
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rt, rn) ⇒ LD64B
constructor
A new instance of LD64B.
Constructor Details
#initialize(rt, rn) ⇒ LD64B
Returns a new instance of LD64B.
7 8 9 10 |
# File 'lib/aarch64/instructions/ld64b.rb', line 7 def initialize rt, rn @rt = check_mask(rt, 0x1f) @rn = check_mask(rn, 0x1f) end |
Instance Method Details
#encode(_) ⇒ Object
12 13 14 |
# File 'lib/aarch64/instructions/ld64b.rb', line 12 def encode _ LD64B(@rn, @rt) end |