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