Class: AArch64::Instructions::UMULH
- Inherits:
-
Object
- Object
- AArch64::Instructions::UMULH
- Defined in:
- lib/aarch64/instructions/umulh.rb
Overview
UMULH – A64 Unsigned Multiply High UMULH <Xd>, <Xn>, <Xm>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rd, rn, rm) ⇒ UMULH
constructor
A new instance of UMULH.
Constructor Details
#initialize(rd, rn, rm) ⇒ UMULH
Returns a new instance of UMULH.
7 8 9 10 11 |
# File 'lib/aarch64/instructions/umulh.rb', line 7 def initialize rd, rn, rm @rd = rd @rn = rn @rm = rm end |
Instance Method Details
#encode ⇒ Object
13 14 15 |
# File 'lib/aarch64/instructions/umulh.rb', line 13 def encode UMULH(@rm.to_i, @rn.to_i, @rd.to_i) end |