Class: UnarmBind::ArgumentValue

Inherits:
FFI::Union
  • Object
show all
Defined in:
lib/unarm/unarm.rb

Instance Method Summary collapse

Instance Method Details

#co_regObject



322
323
324
# File 'lib/unarm/unarm.rb', line 322

def co_reg
  CO_REG[self[:co_reg]]
end

#endianObject



334
335
336
337
# File 'lib/unarm/unarm.rb', line 334

def endian
  return :illegal if self[:endian] == 255
  ENDIAN[self[:endian]]
end

#shiftObject



330
331
332
# File 'lib/unarm/unarm.rb', line 330

def shift
  SHIFT[self[:shift]]
end

#status_regObject



326
327
328
# File 'lib/unarm/unarm.rb', line 326

def status_reg
  STATUS_REG[self[:status_reg]]
end