Exception: RubyLabs::MARSLab::MARSRuntimeException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/marslab.rb

Overview

A MARSRuntimeException is raised when MARS tries to execute an illegal instruction,

e.g. when a program contains an instruction with the wrong type of addressing mode for
its opcode.