Class: Ragweed::Rasm::Or
- Inherits:
-
Arith
- Object
- Instruction
- Arith
- Ragweed::Rasm::Or
- Defined in:
- lib/ragweed/rasm/isa.rb
Overview
OR
Instance Attribute Summary
Attributes inherited from Instruction
Instance Method Summary collapse
-
#initialize(*args) ⇒ Or
constructor
A new instance of Or.
Methods inherited from Arith
Methods inherited from Instruction
#add, #coerce, #decode, #dst_imm?, #dst_lab?, #dst_reg?, i, #locate, #modrm, #patch, #sib, #src_imm?, #src_lab?, #src_reg?, #to_s
Constructor Details
#initialize(*args) ⇒ Or
Returns a new instance of Or.
627 628 629 630 631 |
# File 'lib/ragweed/rasm/isa.rb', line 627 def initialize(*args) super *args @imp8, @imp, @imm8, @imm, @rm, @mr = [0x0c, 0x0d, 0x83, 0x81, 0x0b, 0x09] @x = Ecx.clone end |