Class: UnarmBind::ArgumentValue
- Inherits:
-
FFI::Union
- Object
- FFI::Union
- UnarmBind::ArgumentValue
- Defined in:
- lib/unarm/unarm.rb
Instance Method Summary collapse
Instance Method Details
#co_reg ⇒ Object
322 323 324 |
# File 'lib/unarm/unarm.rb', line 322 def co_reg CO_REG[self[:co_reg]] end |
#endian ⇒ Object
334 335 336 337 |
# File 'lib/unarm/unarm.rb', line 334 def endian return :illegal if self[:endian] == 255 ENDIAN[self[:endian]] end |
#shift ⇒ Object
330 331 332 |
# File 'lib/unarm/unarm.rb', line 330 def shift SHIFT[self[:shift]] end |
#status_reg ⇒ Object
326 327 328 |
# File 'lib/unarm/unarm.rb', line 326 def status_reg STATUS_REG[self[:status_reg]] end |