Class: AArch64::Instructions::UDF_perm_undef

Inherits:
Instruction
  • Object
show all
Defined in:
lib/aarch64/instructions/udf_perm_undef.rb

Overview

UDF – A64 Permanently Undefined UDF #<imm>

Instance Method Summary collapse

Constructor Details

#initialize(imm) ⇒ UDF_perm_undef

Returns a new instance of UDF_perm_undef.



7
8
9
# File 'lib/aarch64/instructions/udf_perm_undef.rb', line 7

def initialize imm
  @imm = check_mask(imm, 0xffff)
end

Instance Method Details

#encode(_) ⇒ Object



11
12
13
# File 'lib/aarch64/instructions/udf_perm_undef.rb', line 11

def encode _
  UDF_perm_undef(@imm)
end