Sha256: 8790011bda2c0f377ed8281fa172f4369743f8dead6e29973b4137248378baee
Contents?: true
Size: 560 Bytes
Versions: 3
Compression:
Stored size: 560 Bytes
Contents
# This file is part of Metasm, the Ruby assembly manipulation suite # Copyright (C) 2006-2009 Yoann GUILLOT # # Licence is LGPL, see LICENCE in the top-level directory require 'metasm/main' module Metasm class ST20 < CPU def initialize(size=32) super() @endianness = :little @size = size init_opcodes end def register_symbols [:a, :b, :c] end def render_instruction(i) r = [] r << i.opname if not i.args.empty? r << ' ' i.args.each { |a_| r << a_ << ', ' } r.pop end r end end class TransPuter < ST20 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
metasm-1.0.5 | metasm/cpu/st20/main.rb |
metasm-1.0.4 | metasm/cpu/st20/main.rb |
metasm-1.0.3 | metasm/cpu/st20/main.rb |