1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00
cc65/test/asm/cpudetect
2022-02-20 11:20:20 +01:00
..
65c02-cpudetect.ref
65sc02-cpudetect.ref
4510-cpudetect.ref
6502-cpudetect.ref
6502dtv-cpudetect.ref
6502x-cpudetect.ref
65816-cpudetect.ref
cpudetect.s
huc6280-cpudetect.ref
Makefile
readme.txt

CPU Detect Tests
----------------

These tests all assemble the same file "cpudetect.s" which contains several
conditionals for several CPUs, only using every option known to the "--cpu"
command-line switch of ca65/cl65.

Reference (".ref") Files
------------------------

Some hints about creating new files:
Make an empty file with the CPU's name prepended to "-cpudetect.ref". Run the
tests; one of them will fail due to a mismatch. Review the output of the
".lst" file pedantically, then copy the ".bin" over the empty ".ref" file.