Touch up ds documentation as per rednex#350

This commit is contained in:
ISSOtm
2019-12-08 04:05:56 +01:00
parent 34618e0294
commit 606519c515

View File

@@ -710,12 +710,10 @@ The following symbols are defined by the assembler:
.Sh DEFINING DATA .Sh DEFINING DATA
.Ss Declaring variables in a RAM section .Ss Declaring variables in a RAM section
.Ic DS .Ic DS
allocates a number of bytes. allocates a number of empty bytes.
The content is undefined. This is the preferred method of allocating space in a RAM section.
This is the preferred method of allocationg space in a RAM section. You can also use
You can, however, use .Ic DB , DW
.Ic DB ,
.Ic DW
and and
.Ic DL .Ic DL
without any arguments instead (see without any arguments instead (see
@@ -726,9 +724,8 @@ below).
DS 42 ; Allocates 42 bytes DS 42 ; Allocates 42 bytes
.Ed .Ed
.Pp .Pp
Note that in ROM sections, the bytes in the empty space left by Empty space in RAM sections will not be initialized.
.Ic DS In ROM sections, it will be filled with the value passed to the
will be filled with the value passed to the
.Fl p .Fl p
command-line option, except when using overlays with command-line option, except when using overlays with
.Fl O . .Fl O .