1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00

Documented the new .assert actions.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4323 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-10-04 13:03:56 +00:00
parent 7ecdaf3d6e
commit 44311c2b2e

View File

@ -1750,9 +1750,10 @@ 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
specifier, and an optional message that is output in case the assertion
fails. If no message was given, the string "Assertion failed" is used. The
action specifier may be one of <tt/warning/ or <tt/error/. The assertion is
evaluated by the assembler if possible, and also passed to the linker in the
object file (if one is generated). The linker will then evaluate the
action specifier may be one of <tt/warning/, <tt/error/, <tt/ldwarning/ or
<tt/lderror/. In the former two cases, the assertion is evaluated by the
assembler if possible, and in any case, it's also passed to the linker in
the object file (if one is generated). The linker will then evaluate the
expression when segment placement has been done.
Example: