2015-02-18 03:05:37 +00:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
###############################################################################
|
|
|
|
## 6502 Assembler
|
|
|
|
##
|
|
|
|
## Usage: ./assembler_6502.rb <infile.asm>
|
|
|
|
##
|
2015-02-25 00:43:50 +00:00
|
|
|
## This the front end of the Assembler, just processes commandline arguments
|
|
|
|
## and passes them to the actual assembler.
|
2015-02-18 03:05:37 +00:00
|
|
|
|
|
|
|
require_relative 'lib/assembler'
|
2015-02-25 00:43:50 +00:00
|
|
|
require_relative 'lib/front_end'
|
2015-02-18 03:05:37 +00:00
|
|
|
|
2015-02-25 00:43:50 +00:00
|
|
|
Assembler6502::FrontEnd.new(ARGV).run
|