Re-introduce necessary comments, wit a clearer wording

This commit is contained in:
Colin Leroy-Mira
2023-10-03 17:48:54 +02:00
committed by Oliver Schmidt
parent 3c17c13357
commit 9667a5f991
2 changed files with 7 additions and 7 deletions

View File

@@ -139,7 +139,7 @@ You can refer to Annex B of the ISO C99 standard ([here](https://www.open-std.or
* If a function is declared to return a char-sized value, it actually must return an integer-sized value. (When cc65 promotes a returned value, it sometimes assumes that the value already is an integer.) This must be done in one of the following ways:
<pre>
lda #RETURN_VALUE
ldx #0 ; return value is char
ldx #0 ; Promote char return value
</pre>
or, if the value is 0, you can use:
<pre>