Class: Ragweed::Rasm::Xor

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

Overview

XOR

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) ⇒ Xor

Returns a new instance of Xor.



640
641
642
643
644
# File 'lib/ragweed/rasm/isa.rb', line 640

def initialize(*args)
  super *args
  @imp8, @imp, @imm8, @imm, @rm, @mr = [0x34, 0x35, 0x83, 0x81, 0x33, 0x31]
  @x = Esi.clone
end