Class: AArch64::Instructions::ANDS_log_imm
- Inherits:
-
Object
- Object
- AArch64::Instructions::ANDS_log_imm
- Defined in:
- lib/aarch64/instructions/ands_log_imm.rb
Overview
ANDS (immediate) – A64 Bitwise AND (immediate), setting flags ANDS <Wd>, <Wn>, #<imm> ANDS <Xd>, <Xn>, #<imm>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rd, rn, immr, imms, n, sf) ⇒ ANDS_log_imm
constructor
A new instance of ANDS_log_imm.
Constructor Details
#initialize(rd, rn, immr, imms, n, sf) ⇒ ANDS_log_imm
8 9 10 11 12 13 14 15 |
# File 'lib/aarch64/instructions/ands_log_imm.rb', line 8 def initialize rd, rn, immr, imms, n, sf @rd = rd @rn = rn @immr = immr @imms = imms @n = n @sf = sf end |
Instance Method Details
#encode ⇒ Object
17 18 19 |
# File 'lib/aarch64/instructions/ands_log_imm.rb', line 17 def encode ANDS_log_imm(@sf, @n, @immr, @imms, @rn.to_i, @rd.to_i) end |