Sha256: 4b343d063868c94d51edc352de95e5462ed1b90f3cd24dac75d68dfa256790ec

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

require "rips/instructions/instruction"

module Rips
  module Instructions

    class Lest < Instruction

      attr_reader :variables, :length

      # @variables: types of instruction's variables
      # @length: length in bits for each variable
      def initialize
        super("lest",Formats::DFormat.new(0b0111))
        @variables = [Variables::Register.new, Variables::Register.new, Variables::Register.new]
        @length = {r3:4, r2:4, r1:4, op:4}
      end
    end
  end  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rips-0.1.1 lib/rips/instructions/lest.rb