Class: AArch64::Instructions::LDRSB_unsigned
- Inherits:
-
Object
- Object
- AArch64::Instructions::LDRSB_unsigned
- Defined in:
- lib/aarch64/instructions/ldrsb_unsigned.rb
Overview
LDRSB (immediate) – A64 Load Register Signed Byte (immediate) LDRSB <Wt>, [<Xn|SP>], #<simm> LDRSB <Xt>, [<Xn|SP>], #<simm> LDRSB <Wt>, [<Xn|SP>, #<simm>]! LDRSB <Xt>, [<Xn|SP>, #<simm>]! LDRSB <Wt>, [<Xn|SP>#<pimm>] LDRSB <Xt>, [<Xn|SP>#<pimm>]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rt, rn, imm12, opc) ⇒ LDRSB_unsigned
constructor
A new instance of LDRSB_unsigned.
Constructor Details
#initialize(rt, rn, imm12, opc) ⇒ LDRSB_unsigned
Returns a new instance of LDRSB_unsigned.
12 13 14 15 16 17 |
# File 'lib/aarch64/instructions/ldrsb_unsigned.rb', line 12 def initialize rt, rn, imm12, opc @rt = rt @rn = rn @imm12 = imm12 @opc = opc end |
Instance Method Details
#encode ⇒ Object
19 20 21 |
# File 'lib/aarch64/instructions/ldrsb_unsigned.rb', line 19 def encode LDRSB_unsigned(@opc, @imm12, @rn.to_i, @rt.to_i) end |