Exception: RubyLabs::MARSLab::RedcodeSyntaxError

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

Overview

A RedcodeSyntaxError is raised when a source program contains an instruction that cannot

be translated into MARS machine language, e.g. it has an unknown opcode or a missing operand.