From: cuz Date: Wed, 24 Sep 2003 17:20:50 +0000 (+0000) Subject: Conditional assembly may not be used to exclude normal text, because X-Git-Tag: V2.12.0~1325 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6ee065c6dfd947651e7043170bb6d11970c3ae9;p=cc65 Conditional assembly may not be used to exclude normal text, because tokenization will still take place, even if the input is not assembled. git-svn-id: svn://svn.cc65.org/cc65/trunk@2446 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 9a711e1e9..534269461 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -273,6 +273,8 @@ Here is a description of all the command line options: Input format

+Assembler syntax

+ The assembler accepts the standard 6502/65816 assembler syntax. One line may contain a label (which is identified by a colon), and, in addition to the label, an assembler mnemonic, a macro, or a control command (see section command was given). + +65816 mode

+ In 65816 mode several aliases are accepted in addition to the official mnemonics: @@ -336,11 +341,23 @@ separated by a dot: jsl 3.$1234 ; Call subroutine at $1234 in bank 3 +Number format

+ For literal values, the assembler accepts the widely used number formats: A preceeding '$' denotes a hex value, a preceeding '%' denotes a binary value, and a bare number is interpeted as a decimal. There are currently no octal values and no floats. -

+ + +Conditional assembly

+ +Please note that when using the conditional directives ( Expressions

@@ -2315,7 +2332,7 @@ Here's a list of all control commands and a description, what they do: .VERSION

- Reading this pseudo variable will give the assembler version according to + Reading this pseudo variable will give the assembler version according to the following formula: VER_MAJOR*$100 + VER_MINOR*$10 + VER_PATCH