module HackAssembler::DestinationTranslator
Public Class Methods
translate(destination)
click to toggle source
# File lib/hack_assembler/destination_translator.rb, line 3 def self.translate(destination) bytecode = @@translation_table[destination] raise ParserError if bytecode.nil? bytecode end