Class: AArch64::Instructions::DCPS
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::DCPS
- Defined in:
- lib/aarch64/instructions/dcps.rb
Overview
DCPS1 – A64 Debug Change PE State to EL1. DCPS1 #<imm>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(imm, ll) ⇒ DCPS
constructor
A new instance of DCPS.
Constructor Details
#initialize(imm, ll) ⇒ DCPS
Returns a new instance of DCPS.
7 8 9 10 |
# File 'lib/aarch64/instructions/dcps.rb', line 7 def initialize imm, ll @imm = check_mask(imm, 0xffff) @ll = check_mask(ll, 0x03) end |
Instance Method Details
#encode(_) ⇒ Object
12 13 14 |
# File 'lib/aarch64/instructions/dcps.rb', line 12 def encode _ DCPS(@imm, @ll) end |