Class: AArch64::Instructions::LDAPRB
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::LDAPRB
- Defined in:
- lib/aarch64/instructions/ldaprb.rb
Overview
LDAPRB – A64 Load-Acquire RCpc Register Byte LDAPRB <Wt>, [<Xn|SP> ,,#0]
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rt, rn) ⇒ LDAPRB
constructor
A new instance of LDAPRB.
Constructor Details
#initialize(rt, rn) ⇒ LDAPRB
Returns a new instance of LDAPRB.
7 8 9 10 |
# File 'lib/aarch64/instructions/ldaprb.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/ldaprb.rb', line 12 def encode _ LDAPRB(@rn, @rt) end |