Class: Ragweed::Rasm::Pushad

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

Overview

Push the registers onto the stack

not valid for 64bit mode

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



481
482
483
484
# File 'lib/ragweed/rasm/isa.rb', line 481

def to_s
  add(0x60)
  super
end