Method: AArch64::Instructions::LDRH_reg#initialize

Defined in:
lib/aarch64/instructions/ldrh_reg.rb

#initialize(rt, rn, rm, s, option) ⇒ LDRH_reg

Returns a new instance of LDRH_reg.



7
8
9
10
11
12
13
# File 'lib/aarch64/instructions/ldrh_reg.rb', line 7

def initialize rt, rn, rm, s, option
  @rt     = check_mask(rt, 0x1f)
  @rn     = check_mask(rn, 0x1f)
  @rm     = check_mask(rm, 0x1f)
  @s      = check_mask(s, 0x01)
  @option = check_mask(option, 0x07)
end