Class: Ragweed::Rasm::Pushf

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

Overview


Instance Attribute Summary

Attributes inherited from Instruction

#dst, #src

Instance Method Summary collapse

Methods inherited from Instruction

#add, #coerce, #dst_imm?, #dst_lab?, #dst_reg?, i, #initialize, #locate, #modrm, #patch, #sib, #src_imm?, #src_lab?, #src_reg?

Constructor Details

This class inherits a constructor from Ragweed::Rasm::Instruction

Instance Method Details

#to_sObject

def initialize; end

Raises:



1056
1057
1058
1059
1060
# File 'lib/ragweed/rasm/isa.rb', line 1056

def to_s
    raise(TooMan, "too many arguments") if @src or @dst
    add(0x9c)
    super
end