1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-04 17:04:58 +00:00
cc65/test/asm
bbbradsmith f2e7609046 sim65 cycles 32-bit range fix
long is 64-bit on some platforms, making this inconsistent, added range check to catch overflow.
reduced tests requesting 5 billion cycles to 2^32-1 so they can fun on 32-bit long sim65.
2023-05-05 21:45:57 -04:00
..
cpudetect
err Fix .endmacro not at the start of the line. Rename test files. 2023-03-02 15:12:30 -05:00
listing linkter test with custom config should not use none.lib 2023-03-07 18:48:30 -05:00
opcodes
val sim65 cycles 32-bit range fix 2023-05-05 21:45:57 -04:00
Makefile added a test that must fail 2022-04-26 17:07:57 +02:00
readme.txt test/asm readme val description revision 2023-03-07 18:53:30 -05:00

Assembler Testcases
===================

cpudetect
---------

Tests the --cpu command line option of ca65/ld65.
Refer to cpudetect/readme.txt


opcodes
-------

Test of assembler opcodes for each CPU.
Refer to opcodes/readme.txt


err:
----

Used to test assembler errors. These tests MUST NOT assemble without error.


listing:
--------

This is the most versatile assembler test form, allowing control customizations,
reference tests for binary output, stdout and error text ouput, error tests,
listings, custom linker configuration, etc. as needed.
Refer to listing/readme.txt


val:
----

Runtime assembly tests using sim65 that should end with an exit code of 0 if
they pass. If they fail the exit code should be either -1, or a number
indicating what part of the test failed.