class Rips::Instructions::J
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/j.rb, line 12 def initialize super("j",Formats::BFormat.new(0b1001)) @variables = [Variables::Address.new] @length = {r1:10, op:4, blank:2} end