I found some 6502 assembler code for a Commodore 64 program that uses meta commands like
#include "foobar", define the address to be assembled to via
*=$1234 and define labels without a colon. Comments are marked with a leading
;, and the syntax allows for specifying characters as constants such as in
Which assembler programs have this kind of syntax and could be used to assemble the file?
I already know that
ca65assembler uses keywords like
ca65requires a colon after a label definition
dasmassembler files define the start address with the org directive, but not with
kickassassembler has different comment format
64tassdoes not know the
so it is none of the above (I tried and the build failed).
#includeand any other C preprocessor like directive, and assume the source code you're looking at meant to handled by passing the source though a C preprocessor before being assembled. The GNU Assembler doesn't support C preprocessing directives, but you'll find a lot of code written for it that uses them anyways.