Class: Ragweed::Rasm::And

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

Overview

AND

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

Returns a new instance of And.



650
651
652
653
654
# File 'lib/ragweed/rasm/isa.rb', line 650

def initialize(*args)
  super *args
  @imp8, @imp, @imm8, @imm, @rm, @mr = [0x24, 0x25, 0x83, 0x81, 0x23, 0x21]
  @x = Esp.clone
end