Add new feature "leading_dot_in_identifiers".
Document the (already existing) .BYT directive (which is an alias for .BYTE). git-svn-id: svn://svn.cc65.org/cc65/trunk@1157 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
2d96df46f1
commit
2db310df1b
1 changed files with 12 additions and 2 deletions
|
@ -736,7 +736,7 @@ Here's a list of all control commands and a description, what they do:
|
||||||
See also the <tt><ref id=".SEGMENT" name=".SEGMENT"></tt> command.
|
See also the <tt><ref id=".SEGMENT" name=".SEGMENT"></tt> command.
|
||||||
|
|
||||||
|
|
||||||
<sect1><tt>.BYTE</tt><label id=".BYTE"><p>
|
<sect1><tt>.BYT, .BYTE</tt><label id=".BYTE"><p>
|
||||||
|
|
||||||
Define byte sized data. Must be followed by a sequence of (byte ranged)
|
Define byte sized data. Must be followed by a sequence of (byte ranged)
|
||||||
expressions or strings.
|
expressions or strings.
|
||||||
|
@ -744,7 +744,8 @@ Here's a list of all control commands and a description, what they do:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
.byte "Hello world", $0D, $00
|
.byte "Hello "
|
||||||
|
.byt "world", $0D, $00
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1180,6 +1181,15 @@ Here's a list of all control commands and a description, what they do:
|
||||||
at character is not allowed to start an identifier, even with this
|
at character is not allowed to start an identifier, even with this
|
||||||
feature enabled.
|
feature enabled.
|
||||||
|
|
||||||
|
<tag><tt>leading_dot_in_identifiers</tt></tag>
|
||||||
|
|
||||||
|
Accept the dot (`.') as the first character of an identifier. This may be
|
||||||
|
used for example to create macro names that start with a dot emulating
|
||||||
|
control directives of other assemblers. Note however, that none of the
|
||||||
|
reserved keywords built into the assembler, that starts with a dot, may be
|
||||||
|
overridden. When using this feature, you may also get into trouble if
|
||||||
|
later versions of the assembler define new keywords starting with a dot.
|
||||||
|
|
||||||
<tag><tt>pc_assignment</tt></tag>
|
<tag><tt>pc_assignment</tt></tag>
|
||||||
|
|
||||||
Allow assignments to the PC symbol (`*' or `$' if <tt/dollar_is_pc/
|
Allow assignments to the PC symbol (`*' or `$' if <tt/dollar_is_pc/
|
||||||
|
|
Loading…
Add table
Reference in a new issue