Sha256: 4596f3eee3a6c075e04d17f30c58229f08206f9d63c8a8da139119d01ddb3cb5

Contents?: true

Size: 406 Bytes

Versions: 5

Compression:

Stored size: 406 Bytes

Contents

require "rips/instructions/instruction"

module Rips
  module Instructions

    class Jr < Instruction

      attr_reader :variables, :length

      # @variables: types of instruction's variables
      # @length: length in bits for each variable
      def initialize
        super("jr",Formats::AFormat.new(0b111000))
        @variables = []
        @length = {op:6, blank:10}
      end
    end
  end  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rips-0.1.1 lib/rips/instructions/jr.rb
rips-0.1.0 lib/rips/instructions/jr.rb
rips-0.0.8 lib/rips/instructions/jr.rb
rips-0.0.7 lib/rips/instructions/jr.rb
rips-0.0.6 lib/rips/instructions/jr.rb