class Rips::Instructions::Ji

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/ji.rb, line 12
def initialize
  super("ji",Formats::BFormat.new(0b011000))
  @variables = [Variables::Inmediate.new(10)]
  @length = {r1:10, op:6}
end