Class: AArch64::Instructions::IRG
- Inherits:
-
Object
- Object
- AArch64::Instructions::IRG
- Defined in:
- lib/aarch64/instructions/irg.rb
Overview
IRG – A64 Insert Random Tag IRG <Xd|SP>, <Xn|SP><Xm>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rd, rn, rm) ⇒ IRG
constructor
A new instance of IRG.
Constructor Details
#initialize(rd, rn, rm) ⇒ IRG
Returns a new instance of IRG.
7 8 9 10 11 |
# File 'lib/aarch64/instructions/irg.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/irg.rb', line 13 def encode IRG(@rm.to_i, @rn.to_i, @rd.to_i) end |