Class: AArch64::Instructions::GMI
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::GMI
- Defined in:
- lib/aarch64/instructions/gmi.rb
Overview
GMI – A64 Tag Mask Insert GMI <Xd>, <Xn|SP>, <Xm>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rd, rn, rm) ⇒ GMI
constructor
A new instance of GMI.
Constructor Details
#initialize(rd, rn, rm) ⇒ GMI
Returns a new instance of GMI.
7 8 9 10 11 |
# File 'lib/aarch64/instructions/gmi.rb', line 7 def initialize rd, rn, rm @rd = check_mask(rd, 0x1f) @rn = check_mask(rn, 0x1f) @rm = check_mask(rm, 0x1f) end |
Instance Method Details
#encode(_) ⇒ Object
13 14 15 |
# File 'lib/aarch64/instructions/gmi.rb', line 13 def encode _ GMI(@rm, @rn, @rd) end |