mirror of
https://github.com/safiire/n65.git
synced 2024-12-22 18:29:36 +00:00
2c938f7312
bank management, Use of promises to resolve symbols that are used before they are defined. A base class for all instructions and assembler directives. Hopefully my scoped symbols can be used to create C like data structures in the zero page, ie sprite.x New code to prodce the final ROM. Basically everything was rewritten.
12 lines
308 B
Ruby
Executable File
12 lines
308 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
###############################################################################
|
|
## 6502 Assembler
|
|
##
|
|
## Usage: ./assembler_6502.rb <infile.asm>
|
|
##
|
|
## This file runs the assembler though the commandline frontend.
|
|
|
|
require_relative 'lib/front_end'
|
|
|
|
Assembler6502::FrontEnd.new(ARGV).run
|