Class: AArch64::Instructions::MSR_reg
- Inherits:
-
Object
- Object
- AArch64::Instructions::MSR_reg
- Defined in:
- lib/aarch64/instructions/msr_reg.rb
Overview
MSR (register) – A64 Move general-purpose register to System Register MSR (<systemreg>|S<op0>_<op1>_<Cn>_<Cm>_<op2>), <Xt>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(o0, op1, crn, crm, op2, rt) ⇒ MSR_reg
constructor
A new instance of MSR_reg.
Constructor Details
#initialize(o0, op1, crn, crm, op2, rt) ⇒ MSR_reg
Returns a new instance of MSR_reg.
7 8 9 10 11 12 13 14 |
# File 'lib/aarch64/instructions/msr_reg.rb', line 7 def initialize o0, op1, crn, crm, op2, rt @o0 = o0 @op1 = op1 @crn = crn @crm = crm @op2 = op2 @rt = rt end |
Instance Method Details
#encode ⇒ Object
16 17 18 |
# File 'lib/aarch64/instructions/msr_reg.rb', line 16 def encode MSR_reg(@o0, @op1, @crn, @crm, @op2, @rt.to_i) end |