class Rips::Instructions::Sesm

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/sesm.rb, line 12
def initialize
  super("sesm",Formats::CFormat.new(0b1110))
  @variables = [Variables::Port.new, Variables::Inmediate.new]
  @length = {r2:2, r1:8, op:4, blank:2}
end