Sha256: ab64c8d2087e393ab642826f151a4bfc16931fa2f0f5fd888a506eaa01315f10
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
require "rips/instructions/instruction" module Rips module Instructions class Beqz < Instruction attr_reader :variables, :length # @variables: types of instruction's variables # @length: length in bits for each variable def initialize super("beqz",Formats::BFormat.new(0b011111)) @variables = [Variables::Address.new] @length = {r1:10, op:6} end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rips-0.1.1 | lib/rips/instructions/beqz.rb |
rips-0.1.0 | lib/rips/instructions/beqz.rb |
rips-0.0.8 | lib/rips/instructions/beqz.rb |