mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
Merge pull request #190 from greg-king5/zeropage-doc
Fix an obsolete description of ca65's .ZEROPAGE directive.
This commit is contained in:
commit
6f24c07836
@ -3,7 +3,7 @@
|
|||||||
<article>
|
<article>
|
||||||
<title>ca65 Users Guide
|
<title>ca65 Users Guide
|
||||||
<author><url url="mailto:uz@cc65.org" name="Ullrich von Bassewitz">
|
<author><url url="mailto:uz@cc65.org" name="Ullrich von Bassewitz">
|
||||||
<date>2015-07-29
|
<date>2015-08-01
|
||||||
|
|
||||||
<abstract>
|
<abstract>
|
||||||
ca65 is a powerful macro assembler for the 6502, 65C02, and 65816 CPUs. It is
|
ca65 is a powerful macro assembler for the 6502, 65C02, and 65816 CPUs. It is
|
||||||
@ -3667,7 +3667,7 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
segment, that is, a named section of data. The default segment is
|
segment, that is, a named section of data. The default segment is
|
||||||
"CODE". There may be up to 254 different segments per object file
|
"CODE". There may be up to 254 different segments per object file
|
||||||
(and up to 65534 per executable). There are shortcut commands for
|
(and up to 65534 per executable). There are shortcut commands for
|
||||||
the most common segments ("CODE", "DATA" and "BSS").
|
the most common segments ("ZEROPAGE", "CODE", "RODATA", "DATA", and "BSS").
|
||||||
|
|
||||||
The command is followed by a string containing the segment name (there are
|
The command is followed by a string containing the segment name (there are
|
||||||
some constraints for the name - as a rule of thumb use only those segment
|
some constraints for the name - as a rule of thumb use only those segment
|
||||||
@ -3701,8 +3701,9 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
|
|
||||||
See: <tt><ref id=".BSS" name=".BSS"></tt>, <tt><ref id=".CODE"
|
See: <tt><ref id=".BSS" name=".BSS"></tt>, <tt><ref id=".CODE"
|
||||||
name=".CODE"></tt>, <tt><ref id=".DATA" name=".DATA"></tt> and <tt><ref
|
name=".CODE"></tt>, <tt><ref id=".DATA" name=".DATA"></tt>, <tt><ref
|
||||||
id=".RODATA" name=".RODATA"></tt>
|
id=".RODATA" name=".RODATA"></tt>, and <tt><ref id=".ZEROPAGE"
|
||||||
|
name=".ZEROPAGE"></tt>
|
||||||
|
|
||||||
|
|
||||||
<sect1><tt>.SET</tt><label id=".SET"><p>
|
<sect1><tt>.SET</tt><label id=".SET"><p>
|
||||||
@ -3863,7 +3864,7 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
shortcut for
|
shortcut for
|
||||||
|
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
.segment "ZEROPAGE", zeropage
|
.segment "ZEROPAGE": zeropage
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
|
|
||||||
Because of the "zeropage" attribute, labels declared in this segment are
|
Because of the "zeropage" attribute, labels declared in this segment are
|
||||||
|
Loading…
Reference in New Issue
Block a user