Class: Ragweed::Rasm::Or

Inherits:
Arith show all
Defined in:
lib/ragweed/rasm/isa.rb

Overview

OR

Instance Attribute Summary

Attributes inherited from Instruction

#dst, #src

Instance Method Summary collapse

Methods inherited from Arith

#to_s

Methods inherited from Instruction

#add, #coerce, #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.



661
662
663
664
665
# File 'lib/ragweed/rasm/isa.rb', line 661

def initialize(*args)
  super *args
  @imp8, @imp, @imm8, @imm, @rm, @mr = [0x0c, 0x0d, 0x83, 0x81, 0x0b, 0x09]
  @x = Ecx.clone
end