Class: X86Assembler::X86Instruction
- Inherits:
-
RMasm::Instruction
- Object
- RMasm::Directive
- RMasm::Instruction
- X86Assembler::X86Instruction
- Defined in:
- lib/rmasm/x86/x86_assembler.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#disp ⇒ Object
Returns the value of attribute disp.
-
#imm ⇒ Object
Returns the value of attribute imm.
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#modrm ⇒ Object
Returns the value of attribute modrm.
-
#opcode ⇒ Object
Returns the value of attribute opcode.
-
#sib ⇒ Object
Returns the value of attribute sib.
Attributes inherited from RMasm::Directive
Instance Method Summary collapse
-
#initialize(name, opcode, *args) ⇒ X86Instruction
constructor
A new instance of X86Instruction.
Methods inherited from RMasm::Directive
Constructor Details
#initialize(name, opcode, *args) ⇒ X86Instruction
Returns a new instance of X86Instruction.
85 86 87 88 89 |
# File 'lib/rmasm/x86/x86_assembler.rb', line 85 def initialize(name,opcode,*args) super name @opcode = opcode @args = Operand.parse(*args) end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
84 85 86 |
# File 'lib/rmasm/x86/x86_assembler.rb', line 84 def args @args end |
#disp ⇒ Object
Returns the value of attribute disp.
84 85 86 |
# File 'lib/rmasm/x86/x86_assembler.rb', line 84 def disp @disp end |
#imm ⇒ Object
Returns the value of attribute imm.
84 85 86 |
# File 'lib/rmasm/x86/x86_assembler.rb', line 84 def imm @imm end |
#ip ⇒ Object
Returns the value of attribute ip.
84 85 86 |
# File 'lib/rmasm/x86/x86_assembler.rb', line 84 def ip @ip end |
#modrm ⇒ Object
Returns the value of attribute modrm.
84 85 86 |
# File 'lib/rmasm/x86/x86_assembler.rb', line 84 def modrm @modrm end |
#opcode ⇒ Object
Returns the value of attribute opcode.
84 85 86 |
# File 'lib/rmasm/x86/x86_assembler.rb', line 84 def opcode @opcode end |
#sib ⇒ Object
Returns the value of attribute sib.
84 85 86 |
# File 'lib/rmasm/x86/x86_assembler.rb', line 84 def sib @sib end |