Class: AArch64::Instructions::CCMN_reg
- Inherits:
-
Object
- Object
- AArch64::Instructions::CCMN_reg
- Defined in:
- lib/aarch64/instructions/ccmn_reg.rb
Overview
CCMN (register) – A64 Conditional Compare Negative (register) CCMN <Wn>, <Wm>, #<nzcv>, <cond> CCMN <Xn>, <Xm>, #<nzcv>, <cond>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rn, rm, nzcv, cond, sf) ⇒ CCMN_reg
constructor
A new instance of CCMN_reg.
Constructor Details
#initialize(rn, rm, nzcv, cond, sf) ⇒ CCMN_reg
Returns a new instance of CCMN_reg.
8 9 10 11 12 13 14 |
# File 'lib/aarch64/instructions/ccmn_reg.rb', line 8 def initialize rn, rm, nzcv, cond, sf @rn = rn @rm = rm @nzcv = nzcv @cond = cond @sf = sf end |
Instance Method Details
#encode ⇒ Object
16 17 18 |
# File 'lib/aarch64/instructions/ccmn_reg.rb', line 16 def encode CCMN_reg(@sf, @rm.to_i, @cond, @rn.to_i, @nzcv) end |