Document new .assert behaviour
git-svn-id: svn://svn.cc65.org/cc65/trunk@3473 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1657,8 +1657,9 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
Add an assertion. The command is followed by an expression, an action
|
Add an assertion. The command is followed by an expression, an action
|
||||||
specifier and a message that is output in case the assertion fails. The
|
specifier and a message that is output in case the assertion fails. The
|
||||||
action specifier may be one of <tt/warning/ or <tt/error/. The assertion
|
action specifier may be one of <tt/warning/ or <tt/error/. The assertion
|
||||||
is passed to the linker and will be evaluated when segment placement has
|
is evaluated by the assembler if possible, and also passed to the linker
|
||||||
been done.
|
in the object file (if one is generated). The linker will then evaluate
|
||||||
|
the expression when segment placement has been done.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
@@ -1786,9 +1787,8 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
specifiying <tt/constructor/ and 1 is equal to specifying <tt/destructor/).
|
specifiying <tt/constructor/ and 1 is equal to specifying <tt/destructor/).
|
||||||
The <tt><ref id=".CONSTRUCTOR" name=".CONSTRUCTOR"></tt>, <tt><ref
|
The <tt><ref id=".CONSTRUCTOR" name=".CONSTRUCTOR"></tt>, <tt><ref
|
||||||
id=".DESTRUCTOR" name=".DESTRUCTOR"></tt> and <tt><ref id=".INTERRUPTOR"
|
id=".DESTRUCTOR" name=".DESTRUCTOR"></tt> and <tt><ref id=".INTERRUPTOR"
|
||||||
name=".INTERRUPTORCONSTRUCTOR"></tt>commands are actually shortcuts
|
name=".INTERRUPTOR"></tt> commands are actually shortcuts for <tt/.CONDES/
|
||||||
for <tt/.CONDES/ with a type of <tt/constructor/ resp. <tt/destructor/ or
|
with a type of <tt/constructor/ resp. <tt/destructor/ or <tt/interruptor/.
|
||||||
<tt/interruptor/.
|
|
||||||
|
|
||||||
After the type, an optional priority may be specified. Higher numeric values
|
After the type, an optional priority may be specified. Higher numeric values
|
||||||
mean higher priority. If no priority is given, the default priority of 7 is
|
mean higher priority. If no priority is given, the default priority of 7 is
|
||||||
|
|||||||
Reference in New Issue
Block a user