xref: /dflybsd-src/contrib/binutils-2.27/gas/doc/c-ip2k.texi (revision e656dc90e3d65d744d534af2f5ea88cf8101ebcf)
1*a9fa9459Szrj@c Copyright (C) 2002-2016 Free Software Foundation, Inc.
2*a9fa9459Szrj@c This is part of the GAS manual.
3*a9fa9459Szrj@c For copying conditions, see the file as.texinfo.
4*a9fa9459Szrj@ifset GENERIC
5*a9fa9459Szrj@page
6*a9fa9459Szrj@node IP2K-Dependent
7*a9fa9459Szrj@chapter IP2K Dependent Features
8*a9fa9459Szrj@end ifset
9*a9fa9459Szrj@ifclear GENERIC
10*a9fa9459Szrj@node Machine Dependencies
11*a9fa9459Szrj@chapter IP2K Dependent Features
12*a9fa9459Szrj@end ifclear
13*a9fa9459Szrj
14*a9fa9459Szrj@cindex IP2K support
15*a9fa9459Szrj@menu
16*a9fa9459Szrj* IP2K-Opts::                   IP2K Options
17*a9fa9459Szrj* IP2K-Syntax::                 IP2K Syntax
18*a9fa9459Szrj@end menu
19*a9fa9459Szrj
20*a9fa9459Szrj@node IP2K-Opts
21*a9fa9459Szrj@section IP2K Options
22*a9fa9459Szrj
23*a9fa9459Szrj@cindex options, IP2K
24*a9fa9459Szrj@cindex IP2K options
25*a9fa9459Szrj
26*a9fa9459SzrjThe Ubicom IP2K version of @code{@value{AS}} has a few machine
27*a9fa9459Szrjdependent options:
28*a9fa9459Szrj
29*a9fa9459Szrj@table @code
30*a9fa9459Szrj@item -mip2022ext
31*a9fa9459Szrj@cindex @samp{-mip2022ext} option, IP2022
32*a9fa9459Szrj@cindex architecture options, IP2022
33*a9fa9459Szrj@cindex IP2K architecture options
34*a9fa9459Szrj@code{@value{AS}} can assemble the extended IP2022 instructions, but
35*a9fa9459Szrjit will only do so if this is specifically allowed via this command
36*a9fa9459Szrjline option.
37*a9fa9459Szrj
38*a9fa9459Szrj@item -mip2022
39*a9fa9459Szrj@cindex @samp{-mip2022} option, IP2K
40*a9fa9459Szrj@cindex architecture options, IP2K
41*a9fa9459Szrj@cindex IP2K architecture options
42*a9fa9459SzrjThis option restores the assembler's default behaviour of not
43*a9fa9459Szrjpermitting the extended IP2022 instructions to be assembled.
44*a9fa9459Szrj
45*a9fa9459Szrj@end table
46*a9fa9459Szrj
47*a9fa9459Szrj@node IP2K-Syntax
48*a9fa9459Szrj@section IP2K Syntax
49*a9fa9459Szrj@menu
50*a9fa9459Szrj* IP2K-Chars::                Special Characters
51*a9fa9459Szrj@end menu
52*a9fa9459Szrj
53*a9fa9459Szrj@node IP2K-Chars
54*a9fa9459Szrj@subsection Special Characters
55*a9fa9459Szrj
56*a9fa9459Szrj@cindex line comment character, IP2K
57*a9fa9459Szrj@cindex IP2K line comment character
58*a9fa9459SzrjThe presence of a @samp{;} on a line indicates the start of a comment
59*a9fa9459Szrjthat extends to the end of the current line.
60*a9fa9459Szrj
61*a9fa9459SzrjIf a @samp{#} appears as the first character of a line, the whole line
62*a9fa9459Szrjis treated as a comment, but in this case the line can also be a
63*a9fa9459Szrjlogical line number directive (@pxref{Comments}) or a preprocessor
64*a9fa9459Szrjcontrol command (@pxref{Preprocessing}).
65*a9fa9459Szrj
66*a9fa9459Szrj@cindex line separator, IP2K
67*a9fa9459Szrj@cindex statement separator, IP2K
68*a9fa9459Szrj@cindex IP2K line separator
69*a9fa9459SzrjThe IP2K assembler does not currently support a line separator
70*a9fa9459Szrjcharacter.
71