Currently, only single-byte op-codes are supported, but this is being updated. Also, branches are assumed to be single byte branches (so back up to -128 or forward up to +127), though this will also be fixed. Branches are also assumed to count from the next op-code. this will be updated for other formats.
Otherwise, given a suitable specification file for a chip/assembly language, this script should be able to create object code. Currently, there is a spec file available for the 65C02 (except for the BBS0-7 commands) which will also be usable for the 6502, though a slightly modified version should be used to be sure that 65C02 features cannot be used.
Errors with the input are listed on STDERR and will usually abort further processing. Line numbers of errors along with the fatal command are printed.
See the sample ROM pages for examples of code style supported by this assembler.