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