Greg King
59c58acbe3
Documented the address size argument of the bss-name, code-name, data-name, and rodata-name pragmas.
2020-12-05 23:04:48 -05:00
Oliver Schmidt
8e685a0071
Mention recursion.
2020-10-23 18:35:14 +02:00
Greg King
ae6696fcb9
Removed some ambiguity from a statement.
...
A limited number of bit-field types are required by the C standard, not by cc65.
2020-09-08 10:55:07 -04:00
Jesse Rosenstock
4e4e4c2d21
Allow char bit-fields
...
These are not required to be supported (only int, signed int, and
unsigned int are required), but most compilers support it.
https://port70.net/~nsz/c/c89/c89-draft.html#3.5.2.1
https://port70.net/~nsz/c/c89/c89-draft.html#A.6.5.8
For consistency with other integral types, plain `char` bit-fields
are unsigned, regardless of the `--signed-chars` option.
Fixes #1047
2020-09-08 14:24:04 +02:00
Jesse Rosenstock
85e8a6cb9f
Clarify docs that bss is zero-initialized
...
Addresses comment raised in #1202 .
2020-08-19 13:24:15 +02:00
Jesse Rosenstock
7e61b11f23
Add _Static_assert docs to cc65 extensions
...
Fixes #1149 .
2020-08-16 21:57:04 +02:00
IrgendwerA8
ce80624f62
ctype size optimization
2020-02-03 20:45:09 +01:00
Greg King
18afc7c703
Created a target and a library for the Commander X16 prototype computer.
2019-09-27 03:38:51 -04:00
Lauri Kasanen
5cbbb4597f
Document binary literals
2019-07-20 17:21:42 +02:00
Brad Smith
38d2eb7a0e
cc65.sgml incorrectly closed tt
2019-05-29 22:41:24 +02:00
Brad Smith
d56e3adf2f
CC65 -> cc65
2019-05-15 18:19:45 +02:00
Brad Smith
0d000bb629
Document --debug-opt-output and --debug-opt
2019-05-15 18:19:45 +02:00
Lauri Kasanen
f16ce22281
doc: Rename aux member to data
2019-05-15 11:17:45 +02:00
Lauri Kasanen
c2f3421dee
Document using inline asm with SoA, structs with array members
2019-05-15 11:17:45 +02:00
Lauri Kasanen
55ce618bf2
Document computed gotos
2019-04-21 12:46:03 -04:00
Oliver Schmidt
6cce110345
Adjusted URL to use https (and removed obsolete dates).
2018-09-20 12:45:15 +02:00
jede
3c97a04b25
Fix cc65 doc for telestrat target
2017-11-12 10:42:09 +01:00
Pascal de Bruijn
80b27bde5e
pragma: add minimalist message pragma documentation
...
documents 6e93c1ba73
2017-07-22 15:35:24 +02:00
Greg King
39e55bdb77
Added more info to the documentation of "#pragma wrapped-call".
2017-05-20 01:41:49 -04:00
Lauri Kasanen
4c05c46cd1
Remove RAM-trampoline array support
2017-05-18 16:11:39 +03:00
Lauri Kasanen
ac7a0e21ac
Correct missed doc label
2017-05-16 20:14:19 +03:00
Lauri Kasanen
ca41af41c2
Rename pragma trampoline to wrapped-call, value to identifier
2017-05-16 20:10:24 +03:00
Lauri Kasanen
82e62209d6
Document pragma trampoline
2017-05-01 21:08:03 +03:00
Oliver Schmidt
4e856546c1
Minor language update.
2017-04-04 13:42:57 +02:00
Greg King
3b17c3a411
Fixed 2 typoes.
...
Warning messages from nsgmls usually mean a typing mistake a few lines above the first line that's named by nsgmls.
2017-04-04 07:23:05 -04:00
Oliver Schmidt
9b34509956
Use the more explicit tag style for recently added internal links.
2017-04-04 00:41:40 +02:00
Oliver Schmidt
02daf9f8b5
So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions.
...
There were two aspects of this behavior that were considered undesirable:
- Although the safe inlining is in general desirable it should only be enabled if asked for it - like any other optimization.
- The option name -Os implies that it is a safe option, the potentially unsafe inlining should have a more explicit name.
So now:
- The option -Os enables the safe inlining.
- The new option --eagerly-inline-funcs enables the potentially unsafe inlining (including the safe inlining).
Additionally was added:
- The option --inline-stdfuncs that does like -Os enable the safe inlining but doesn't enable optimizations.
- The pragma inline-stdfuncs that works identical to --inline-stdfuncs.
- The pragma allow-eager-inline that enables the potentially unsafe inlining but doesn't include the safe inlining. That means that by itself it only marks code as safe for potentially unsafe inlining but doesn't actually enable any inlining.
2017-04-03 23:20:26 +02:00
Greg King
01f5baf03d
Fixed SGML typo.
2017-03-21 21:23:48 -04:00
Greg King
750a527100
Made C's sizeof operator work with initialized void variables.
...
Added regression tests that check cc65's handling of void variables.
2017-03-12 14:41:32 -04:00
Florent Flament
2a81eaa06e
Add Atari 2600 documentation
2017-01-15 20:53:34 +01:00
Greg King
573381a340
Allowed character code zero to be remapped with other character codes.
2016-06-11 06:43:19 -04:00
Greg King
2c7ccca210
Added the optional C keyword "volatile" to the __asm__ statement grammar.
...
It prevents the statement's Assembly code from being optimized (e.g., moved or removed). Optimization is disabled for that statement's entire function (other functions aren't affected).
2016-04-22 11:33:52 -04:00
Oliver Schmidt
fe023a1218
Merge pull request #151 from greg-king5/fastcall
...
Make __fastcall__ be the default calling convention.
2015-05-26 22:39:33 +02:00
Greg King
b49fd26d16
Improved the compiler documentation, a little bit.
2015-05-26 11:23:54 -04:00
Greg King
8743e9911d
Added a command-line option to compile a program, with __cdecl__ as the default calling convention.
2015-04-22 09:59:23 -04:00
Stephan Mühlstrasser
810fe229e9
Document osic1p-specific constants.
2015-03-23 19:31:46 +01:00
Greg King
52f5854813
Fixed a typo.
2015-03-14 16:50:08 -04:00
Greg King
604a5b4447
Changed the documentation to reflect the new fastcall/cdecl reality.
2015-03-13 05:40:55 -04:00
Christian Groessler
c382c59579
documentation updates for Atari 5200
2014-05-16 02:26:20 +02:00
Greg King
79d8a0d857
Streamlined the document author credits.
2014-04-08 15:36:39 -04:00
Oliver Schmidt
e227a07c8f
Adjusted doc to recent drop of VER_PATCH.
2014-03-10 19:03:01 +01:00
Oliver Schmidt
c3d93d259b
Updated linuxdoc sources from https://github.com/groessler/cc65/tree/gh-pages-sgml .
2014-02-04 22:51:39 +01:00
Oliver Schmidt
aa7561ec45
Revert "No linuxdoc here. Documenation is to be maintained as HTML in branch 'gh-pages'."
...
This reverts commit fcea8951f1
.
Conflicts:
doc/Makefile
2014-02-04 22:18:58 +01:00
Oliver Schmidt
fcea8951f1
No linuxdoc here. Documenation is to be maintained as HTML in branch 'gh-pages'.
2013-03-25 00:50:52 +01:00
uz
bbef4c04a1
Added note about behaviour of --local-strings (Greg King).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5969 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-26 23:00:39 +00:00
ol.sc
0cb60439c8
Replaced <target>-geos with geos-<target>.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5361 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-02 11:25:36 +00:00
ol.sc
e2781c4388
Replaced references to target 'geos' with references to (the upcoming) 'apple-geos' and (the to-be renamed) 'cbm-geos'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-27 15:24:30 +00:00
uz
494b0619d7
Added more sample for the inline assembler. Contributed by Steffen Görzig.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-07 21:08:14 +00:00
uz
928c76235f
Fix output of --help regarding -W. Added new option --list-warnings.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5005 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-01 17:42:49 +00:00
uz
e0d3936705
Document that -t changes not only the character translation table, but also
...
the default CPU.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4884 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-29 20:13:32 +00:00