Class: AArch64::Instructions::DCPS

Inherits:
Instruction show all
Defined in:
lib/aarch64/instructions/dcps.rb

Overview

DCPS1 – A64 Debug Change PE State to EL1. DCPS1 #<imm>

Instance Method Summary collapse

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