Class: AArch64::Instructions::BICS
- Inherits:
-
Object
- Object
- AArch64::Instructions::BICS
- Defined in:
- lib/aarch64/instructions/bics.rb
Overview
BICS (shifted register) – A64 Bitwise Bit Clear (shifted register), setting flags BICS <Wd>, <Wn>, <Wm><shift> #<amount> BICS <Xd>, <Xn>, <Xm><shift> #<amount>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(d, n, m, shift, amount, sf) ⇒ BICS
constructor
A new instance of BICS.
Constructor Details
#initialize(d, n, m, shift, amount, sf) ⇒ BICS
Returns a new instance of BICS.
8 9 10 11 12 13 14 15 |
# File 'lib/aarch64/instructions/bics.rb', line 8 def initialize d, n, m, shift, amount, sf @d = d @n = n @m = m @shift = shift @amount = amount @sf = sf end |
Instance Method Details
#encode ⇒ Object
17 18 19 |
# File 'lib/aarch64/instructions/bics.rb', line 17 def encode BICS(@sf, @shift, @m.to_i, @amount, @n.to_i, @d.to_i) end |