Skip to content

Instantly share code, notes, and snippets.

@ybakos
Created March 3, 2010 00:14
Show Gist options
  • Select an option

  • Save ybakos/320146 to your computer and use it in GitHub Desktop.

Select an option

Save ybakos/320146 to your computer and use it in GitHub Desktop.
File.open(asm_filename, 'r') do |infile|
outfile = File.open(hack_filename, 'w') do |outfile|
assembler = Assembler.new(infile, outfile)
assembler.go!
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment