mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +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:
parent
7ecdaf3d6e
commit
44311c2b2e
@ -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
|
Add an assertion. The command is followed by an expression, an action
|
||||||
specifier, and an optional message that is output in case the assertion
|
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
|
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
|
action specifier may be one of <tt/warning/, <tt/error/, <tt/ldwarning/ or
|
||||||
evaluated by the assembler if possible, and also passed to the linker in the
|
<tt/lderror/. In the former two cases, the assertion is evaluated by the
|
||||||
object file (if one is generated). The linker will then evaluate 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.
|
expression when segment placement has been done.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
Loading…
Reference in New Issue
Block a user