summaryrefslogtreecommitdiff
path: root/gas/doc/c-epiphany.texi
blob: 8e2b94dd26c6115453511a3b10e69f2221cbc431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@c Copyright 1999, 2002, 2011 Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@c man end

@ifset GENERIC
@page
@node Epiphany-Dependent
@chapter Epiphany Dependent Features
@end ifset
@ifclear GENERIC
@node Machine Dependencies
@chapter Epiphany Dependent Features
@end ifclear

@cindex Epiphany support
@menu
* Epiphany Options::              Options
* Epiphany Syntax::               Epiphany Syntax
@end menu

@node Epiphany Options
@section Options

@cindex Epiphany options
@cindex options, Epiphany
@code{@value{AS}} has two additional command-line options for the Epiphany
architecture.

@c man begin OPTIONS
@table @gcctabopt

@cindex @code{-mepiphany} command line option, Epiphany
@item -mepiphany
Specifies that the both 32 and 16 bit instructions are allowed.  This is the
default behavior.

@cindex @code{-mepiphany16} command line option, Epiphany
@item -mepiphany16
Restricts the permitted instructions to just the 16 bit set.
@end table
@c man end

@node Epiphany Syntax
@section Epiphany Syntax
@menu
* Epiphany-Chars::                Special Characters
@end menu

@node Epiphany-Chars
@subsection Special Characters

@cindex line comment character, Epiphany
@cindex Epiphany 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 then the whole
line is treated as a comment, but in this case the line could also be
a logical line number directive (@pxref{Comments}) or a preprocessor
control command (@pxref{Preprocessing}).

@cindex line separator, Epiphany
@cindex statement separator, Epiphany
@cindex Epiphany line separator
The @samp{`} character can be used to separate statements on the same
line.