Class: RMasm::QWord

Inherits:
Primitive show all
Defined in:
lib/rmasm/primitive.rb

Overview

Represents a qword (64 bits)

Constant Summary collapse

MIN =
-9223372036854775808
MAX =
18446744073709551615

Instance Attribute Summary

Attributes inherited from Primitive

#value

Class Method Summary collapse

Methods inherited from Primitive

from_str, valid?

Methods inherited from DataType

read, valid?, write

Class Method Details

.rangeObject



145
146
147
# File 'lib/rmasm/primitive.rb', line 145

def self.range
  return MIN..MAX
end

.sizeofObject



148
149
150
# File 'lib/rmasm/primitive.rb', line 148

def self.sizeof
  8
end

.to_sObject



151
152
153
# File 'lib/rmasm/primitive.rb', line 151

def self.to_s
  "qword"
end