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