tiny optimization and doc

This commit is contained in:
Irmen de Jong 2023-07-02 06:13:22 +02:00
parent aac5a4c27f
commit de5ce0f515
3 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ Module
A module file can *import* other modules, including *library modules*.
Comments
Everything after a semicolon ``;`` is a comment and is ignored by the compiler.
Everything after a semicolon ``;`` is a comment and is ignored by the compiler. There is no block-comment.
If the whole line is just a comment, this line will be copied into the resulting assembly source code for reference.
Directive

View File

@ -20,7 +20,8 @@ You can use tabs or spaces as you wish.
Source code comments
^^^^^^^^^^^^^^^^^^^^
Everything after a semicolon ``;`` is a comment and is ignored.
Everything after a semicolon ``;`` is a comment and is ignored. There is no block-comment so just
comment out each individual line if you want to comment out a bunch of them.
If the whole line is just a comment, it will be copied into the resulting assembly source code.
This makes it easier to understand and relate the generated code. Examples::

View File

@ -189,8 +189,7 @@ interrupt {
ldx #4
- ldy #0
- lda (cx16.r0),y
sec
sbc #128 ; convert to signed
eor #$80 ; convert to signed 8-bit
sta cx16.VERA_AUDIO_DATA
iny
bne -