class Rips::Instructions::Print
Attributes
length[R]
variables[R]
Public Class Methods
new()
click to toggle source
@variables: types of instruction's variables @length: length in bits for each variable
Calls superclass method
Rips::Instructions::Instruction::new
# File lib/rips/instructions/print.rb, line 12 def initialize super("print",Formats::BFormat.new(0b1100)) @variables = [Variables::Register.new] @length = {r1:4, op:4, blank:8} end