Sha256: d81b6c9d3f7d63797791f49f1d222074121c97554ffddd64d042ba2d137900ed
Contents?: true
Size: 463 Bytes
Versions: 5
Compression:
Stored size: 463 Bytes
Contents
require "rips/instructions/instruction" module Rips module Instructions class Sesr < Instruction attr_reader :variables, :length # @variables: types of instruction's variables # @length: length in bits for each variable def initialize super("sesr",Formats::CFormat.new(0b1101)) @variables = [Variables::Port.new, Variables::Register.new] @length = {r2:2, r1:4, op:4, blank:6} end end end end
Version data entries
5 entries across 5 versions & 1 rubygems