Sha256: ce5a3b7bfeec9de6459d468df9d97e1960c0e1e83d4bdec5707a81f83c2ae7fe
Contents?: true
Size: 404 Bytes
Versions: 7
Compression:
Stored size: 404 Bytes
Contents
require "rips/formats/format" module Rips module Formats class CFormat < Format attr_reader :args # @args: all instruction's arguments def initialize (opcode) super(opcode,2) @args = {} end # Pass all arguments at once def set_arguments (args) @args[:r1], @args[:r2] = args[1], args[0] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems