2015-01-01 14:15:26 +00:00
|
|
|
@c Copyright (C) 2002-2015 Free Software Foundation, Inc.
|
2002-07-19 07:52:40 +00:00
|
|
|
@c This is part of the GAS manual.
|
|
|
|
@c For copying conditions, see the file as.texinfo.
|
|
|
|
@ifset GENERIC
|
|
|
|
@page
|
|
|
|
@node IP2K-Dependent
|
|
|
|
@chapter IP2K Dependent Features
|
|
|
|
@end ifset
|
|
|
|
@ifclear GENERIC
|
|
|
|
@node Machine Dependencies
|
|
|
|
@chapter IP2K Dependent Features
|
|
|
|
@end ifclear
|
|
|
|
|
|
|
|
@cindex IP2K support
|
|
|
|
@menu
|
|
|
|
* IP2K-Opts:: IP2K Options
|
2011-01-18 13:37:39 +00:00
|
|
|
* IP2K-Syntax:: IP2K Syntax
|
2002-07-19 07:52:40 +00:00
|
|
|
@end menu
|
|
|
|
|
|
|
|
@node IP2K-Opts
|
|
|
|
@section IP2K Options
|
|
|
|
|
|
|
|
@cindex options, IP2K
|
|
|
|
@cindex IP2K options
|
|
|
|
|
2002-07-22 19:04:28 +00:00
|
|
|
The Ubicom IP2K version of @code{@value{AS}} has a few machine
|
2002-07-19 07:52:40 +00:00
|
|
|
dependent options:
|
|
|
|
|
|
|
|
@table @code
|
|
|
|
@item -mip2022ext
|
|
|
|
@cindex @samp{-mip2022ext} option, IP2022
|
|
|
|
@cindex architecture options, IP2022
|
|
|
|
@cindex IP2K architecture options
|
|
|
|
@code{@value{AS}} can assemble the extended IP2022 instructions, but
|
|
|
|
it will only do so if this is specifically allowed via this command
|
|
|
|
line option.
|
|
|
|
|
|
|
|
@item -mip2022
|
|
|
|
@cindex @samp{-mip2022} option, IP2K
|
|
|
|
@cindex architecture options, IP2K
|
|
|
|
@cindex IP2K architecture options
|
|
|
|
This option restores the assembler's default behaviour of not
|
|
|
|
permitting the extended IP2022 instructions to be assembled.
|
|
|
|
|
|
|
|
@end table
|
2011-01-18 13:37:39 +00:00
|
|
|
|
|
|
|
@node IP2K-Syntax
|
|
|
|
@section IP2K Syntax
|
|
|
|
@menu
|
|
|
|
* IP2K-Chars:: Special Characters
|
|
|
|
@end menu
|
|
|
|
|
|
|
|
@node IP2K-Chars
|
|
|
|
@subsection Special Characters
|
|
|
|
|
|
|
|
@cindex line comment character, IP2K
|
|
|
|
@cindex IP2K line comment character
|
|
|
|
The presence of a @samp{;} on a line indicates the start of a comment
|
|
|
|
that extends to the end of the current line.
|
|
|
|
|
|
|
|
If a @samp{#} appears as the first character of a line, the whole line
|
|
|
|
is treated as a comment, but in this case the line can also be a
|
|
|
|
logical line number directive (@pxref{Comments}) or a preprocessor
|
|
|
|
control command (@pxref{Preprocessing}).
|
|
|
|
|
|
|
|
@cindex line separator, IP2K
|
|
|
|
@cindex statement separator, IP2K
|
|
|
|
@cindex IP2K line separator
|
|
|
|
The IP2K assembler does not currently support a line separator
|
|
|
|
character.
|