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