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