c-ip2k.texi 1.9 KB

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