Format cleanup for "smallbook" layout
This commit is contained in:
parent
63f5d7957f
commit
f4335d5682
1 changed files with 22 additions and 21 deletions
|
@ -36,7 +36,7 @@ original English.
|
||||||
@tex
|
@tex
|
||||||
@finalout
|
@finalout
|
||||||
@end tex
|
@end tex
|
||||||
|
@smallbook
|
||||||
@setchapternewpage odd
|
@setchapternewpage odd
|
||||||
@c if m680x0
|
@c if m680x0
|
||||||
@c @settitle Using GNU as (680x0)
|
@c @settitle Using GNU as (680x0)
|
||||||
|
@ -637,7 +637,7 @@ takes exactly one filename) to give the object file a different name.
|
||||||
Whatever the object file is called, @code{as} will overwrite any
|
Whatever the object file is called, @code{as} will overwrite any
|
||||||
existing file of the same name.
|
existing file of the same name.
|
||||||
|
|
||||||
@subsection Fold Data Segment into Text Segment: @code{-R}
|
@subsection Data Segment into Text Segment: @code{-R}
|
||||||
@code{-R} tells @code{as} to write the object file as if all
|
@code{-R} tells @code{as} to write the object file as if all
|
||||||
data-segment data lives in the text segment. This is only done at
|
data-segment data lives in the text segment. This is only done at
|
||||||
the very last moment: your binary data are the same, but data
|
the very last moment: your binary data are the same, but data
|
||||||
|
@ -842,13 +842,13 @@ another$label: # This is an empty statement.
|
||||||
@section Constants
|
@section Constants
|
||||||
A constant is a number, written so that its value is known by
|
A constant is a number, written so that its value is known by
|
||||||
inspection, without knowing any context. Like this:
|
inspection, without knowing any context. Like this:
|
||||||
@example
|
@smallexample
|
||||||
.byte 74, 0112, 092, 0x4A, 0X4a, 'J, '\J # All the same value.
|
.byte 74, 0112, 092, 0x4A, 0X4a, 'J, '\J # All the same value.
|
||||||
.ascii "Ring the bell\7" # A string constant.
|
.ascii "Ring the bell\7" # A string constant.
|
||||||
.octa 0x123456789abcdef0123456789ABCDEF0 # A bignum.
|
.octa 0x123456789abcdef0123456789ABCDEF0 # A bignum.
|
||||||
.float 0f-314159265358979323846264338327\
|
.float 0f-314159265358979323846264338327\
|
||||||
95028841971.693993751E-40 # - pi, a flonum.
|
95028841971.693993751E-40 # - pi, a flonum.
|
||||||
@end example
|
@end smallexample
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Characters:: Character Constants
|
* Characters:: Character Constants
|
||||||
|
@ -1787,17 +1787,17 @@ of a program quit, it could use this directive tells @code{as} to
|
||||||
quit also. One day @code{.abort} will not be supported.
|
quit also. One day @code{.abort} will not be supported.
|
||||||
|
|
||||||
@node Align, App-File, Abort, Pseudo Ops
|
@node Align, App-File, Abort, Pseudo Ops
|
||||||
@section @code{.align @var{absolute-expression} , @var{absolute-expression}}
|
@section @code{.align @var{abs-expression} , @var{abs-expression}}
|
||||||
Pad the location counter (in the current subsegment) to a particular
|
Pad the location counter (in the current subsegment) to a particular
|
||||||
storage boundary. The first expression is the number of low-order zero
|
storage boundary. The first expression (which must be absolute) is the
|
||||||
bits the location counter will have after advancement. For example
|
number of low-order zero bits the location counter will have after
|
||||||
@samp{.align 3} will advance the location counter until it a multiple of
|
advancement. For example @samp{.align 3} will advance the location
|
||||||
8. If the location counter is already a multiple of 8, no change is
|
counter until it a multiple of 8. If the location counter is already a
|
||||||
needed.
|
multiple of 8, no change is needed.
|
||||||
|
|
||||||
The second expression gives the value to be stored in the padding
|
The second expression (also absolute) gives the value to be stored in
|
||||||
bytes. It (and the comma) may be omitted. If it is omitted, the
|
the padding bytes. It (and the comma) may be omitted. If it is
|
||||||
padding bytes are zero.
|
omitted, the padding bytes are zero.
|
||||||
|
|
||||||
@node App-File, Ascii, Align, Pseudo Ops
|
@node App-File, Ascii, Align, Pseudo Ops
|
||||||
@section @code{.app-file @var{string}}
|
@section @code{.app-file @var{string}}
|
||||||
|
@ -1844,9 +1844,9 @@ absolute expression). If @var{subsegment} is omitted, it defaults
|
||||||
to zero.
|
to zero.
|
||||||
|
|
||||||
@node Desc, Double, Data, Pseudo Ops
|
@node Desc, Double, Data, Pseudo Ops
|
||||||
@section @code{.desc @var{symbol}, @var{absolute-expression}}
|
@section @code{.desc @var{symbol}, @var{abs-expression}}
|
||||||
This directive sets the descriptor of the symbol (@pxref{Symbol Attributes})
|
This directive sets the descriptor of the symbol (@pxref{Symbol Attributes})
|
||||||
to the low 16 bits of @var{absolute-expression}.
|
to the low 16 bits of an absolute expression.
|
||||||
|
|
||||||
@node Double, Else, Desc, Pseudo Ops
|
@node Double, Else, Desc, Pseudo Ops
|
||||||
@section @code{.double @var{flonums}}
|
@section @code{.double @var{flonums}}
|
||||||
|
@ -2030,9 +2030,10 @@ One day this directive will be unsupported: it is used only
|
||||||
for compatibility with existing assembler programs. @refill
|
for compatibility with existing assembler programs. @refill
|
||||||
|
|
||||||
@node List, Long, Ln, Pseudo Ops
|
@node List, Long, Ln, Pseudo Ops
|
||||||
@section @code{.list}, @code{.nolist}, @code{.eject}, @code{.lflags}, @code{.title}, @code{.sbttl}
|
@section @code{.list} and related directives
|
||||||
GNU @code{as} ignores these directives; however, they're
|
GNU @code{as} ignores the directives @code{.list}, @code{.nolist},
|
||||||
accepted for compatibility with assemblers that use them.
|
@code{.eject}, @code{.lflags}, @code{.title}, @code{.sbttl}; however,
|
||||||
|
they're accepted for compatibility with assemblers that use them.
|
||||||
|
|
||||||
@node Long, Lsym, List, Pseudo Ops
|
@node Long, Lsym, List, Pseudo Ops
|
||||||
@section @code{.long @var{expressions}}
|
@section @code{.long @var{expressions}}
|
||||||
|
@ -4425,7 +4426,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
@end ifinfo
|
@end ifinfo
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@unnumberedsec Appendix: How to Apply These Terms to Your New Programs
|
@unnumberedsec How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to humanity, the best way to achieve this is to make it
|
possible use to humanity, the best way to achieve this is to make it
|
||||||
|
@ -4478,14 +4479,14 @@ You should also get your employer (if you work as a programmer) or your
|
||||||
school, if any, to sign a ``copyright disclaimer'' for the program, if
|
school, if any, to sign a ``copyright disclaimer'' for the program, if
|
||||||
necessary. Here is a sample; alter the names:
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
@example
|
@smallexample
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||||
program `Gnomovision' (a program to direct compilers to make passes
|
program `Gnomovision' (a program to direct compilers to make passes
|
||||||
at assemblers) written by James Hacker.
|
at assemblers) written by James Hacker.
|
||||||
|
|
||||||
@var{signature of Ty Coon}, 1 April 1989
|
@var{signature of Ty Coon}, 1 April 1989
|
||||||
Ty Coon, President of Vice
|
Ty Coon, President of Vice
|
||||||
@end example
|
@end smallexample
|
||||||
|
|
||||||
That's all there is to it!
|
That's all there is to it!
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue