For ASM6:
- Download Loopy's ASM6 6502 assembler (Linux version)
- Launch the assembler with the following command:
asm6 -l source.asm dest.nes
- Run dest.nes with your emulator!
For CA65:
- Download the CC65 suite
- Run the commands:
mkdir ../output ca65 -g -o src_ca65.o src_ca65.asm -l ../output/list.txt ld65 -v -C uorom4mbit.cfg --dbgfile ../output/dest_ca65.dbg src_ca65.o -o ../output/dest_ca65.nes
- Run output/dest_ca65.nes with your emulator!