[Coco] CMOC 0.1.87 is out: Experimental support for GCC6809 calling convention
Pierre Sarrazin
sarrazip at sarrazip.com
Sun Jul 7 16:02:40 EDT 2024
Hi. I have published version 0.1.87 of CMOC, a 6809-generating
cross-compiler for a large subset of the C language.
This version:
- Adds experimental support for the GCC6809 calling convention, which
can use the B and X registers to pass parameters to a function. (The
generated code won't necessarily be more efficient, but the low-level
optimizer could be improved to address that.)
- Allows an OS-9 interrupt function to receive a parameter, which helps
implement a signal handler that receives the signal number in B.
- Adds command-line option -funsigned-char to specify that `char'
is unsigned by default.
- Adds command-line option --initial-s=<hex-address>, which generates
an immediate-mode LDS instruction as the first instruction of the
executable. (Useful for standalone systems.)
- Adds command-line option --lwasm-pragma=<pragmas> that allows
specifying the pragma(s) passed to lwasm's --pragma option.
- Provides several minor bug fixes, improvements and optimizations.
Details on the CMOC page: http://sarrazip.com/dev/cmoc.html
--
Pierre Sarrazin <sarrazip @ sarrazip . com>
More information about the Coco
mailing list