Z80-Options.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- This file documents the GNU Assembler "as".
  4. Copyright (C) 1991-2017 Free Software Foundation, Inc.
  5. Permission is granted to copy, distribute and/or modify this document
  6. under the terms of the GNU Free Documentation License, Version 1.3
  7. or any later version published by the Free Software Foundation;
  8. with no Invariant Sections, with no Front-Cover Texts, and with no
  9. Back-Cover Texts. A copy of the license is included in the
  10. section entitled "GNU Free Documentation License".
  11. -->
  12. <!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <title>Using as: Z80 Options</title>
  15. <meta name="description" content="Using as: Z80 Options">
  16. <meta name="keywords" content="Using as: Z80 Options">
  17. <meta name="resource-type" content="document">
  18. <meta name="distribution" content="global">
  19. <meta name="Generator" content="makeinfo">
  20. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  21. <link href="index.html#Top" rel="start" title="Top">
  22. <link href="AS-Index.html#AS-Index" rel="index" title="AS Index">
  23. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  24. <link href="Z80_002dDependent.html#Z80_002dDependent" rel="up" title="Z80-Dependent">
  25. <link href="Z80-Syntax.html#Z80-Syntax" rel="next" title="Z80 Syntax">
  26. <link href="Z80_002dDependent.html#Z80_002dDependent" rel="prev" title="Z80-Dependent">
  27. <style type="text/css">
  28. <!--
  29. a.summary-letter {text-decoration: none}
  30. blockquote.smallquotation {font-size: smaller}
  31. div.display {margin-left: 3.2em}
  32. div.example {margin-left: 3.2em}
  33. div.indentedblock {margin-left: 3.2em}
  34. div.lisp {margin-left: 3.2em}
  35. div.smalldisplay {margin-left: 3.2em}
  36. div.smallexample {margin-left: 3.2em}
  37. div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
  38. div.smalllisp {margin-left: 3.2em}
  39. kbd {font-style:oblique}
  40. pre.display {font-family: inherit}
  41. pre.format {font-family: inherit}
  42. pre.menu-comment {font-family: serif}
  43. pre.menu-preformatted {font-family: serif}
  44. pre.smalldisplay {font-family: inherit; font-size: smaller}
  45. pre.smallexample {font-size: smaller}
  46. pre.smallformat {font-family: inherit; font-size: smaller}
  47. pre.smalllisp {font-size: smaller}
  48. span.nocodebreak {white-space:nowrap}
  49. span.nolinebreak {white-space:nowrap}
  50. span.roman {font-family:serif; font-weight:normal}
  51. span.sansserif {font-family:sans-serif; font-weight:normal}
  52. ul.no-bullet {list-style: none}
  53. -->
  54. </style>
  55. </head>
  56. <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
  57. <a name="Z80-Options"></a>
  58. <div class="header">
  59. <p>
  60. Next: <a href="Z80-Syntax.html#Z80-Syntax" accesskey="n" rel="next">Z80 Syntax</a>, Up: <a href="Z80_002dDependent.html#Z80_002dDependent" accesskey="u" rel="up">Z80-Dependent</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
  61. </div>
  62. <hr>
  63. <a name="Options-30"></a>
  64. <h4 class="subsection">9.54.1 Options</h4>
  65. <a name="index-Z80-options"></a>
  66. <a name="index-options-for-Z80"></a>
  67. <p>The Zilog Z80 and Ascii R800 version of <code>as</code> have a few machine
  68. dependent options.
  69. </p><dl compact="compact">
  70. <dd><a name="index-_002dz80-command-line-option_002c-Z80"></a>
  71. </dd>
  72. <dt><samp>-z80</samp></dt>
  73. <dd><p>Produce code for the Z80 processor. There are additional options to
  74. request warnings and error messages for undocumented instructions.
  75. </p></dd>
  76. <dt><samp>-ignore-undocumented-instructions</samp></dt>
  77. <dt><samp>-Wnud</samp></dt>
  78. <dd><p>Silently assemble undocumented Z80-instructions that have been adopted
  79. as documented R800-instructions.
  80. </p></dd>
  81. <dt><samp>-ignore-unportable-instructions</samp></dt>
  82. <dt><samp>-Wnup</samp></dt>
  83. <dd><p>Silently assemble all undocumented Z80-instructions.
  84. </p></dd>
  85. <dt><samp>-warn-undocumented-instructions</samp></dt>
  86. <dt><samp>-Wud</samp></dt>
  87. <dd><p>Issue warnings for undocumented Z80-instructions that work on R800, do
  88. not assemble other undocumented instructions without warning.
  89. </p></dd>
  90. <dt><samp>-warn-unportable-instructions</samp></dt>
  91. <dt><samp>-Wup</samp></dt>
  92. <dd><p>Issue warnings for other undocumented Z80-instructions, do not treat any
  93. undocumented instructions as errors.
  94. </p></dd>
  95. <dt><samp>-forbid-undocumented-instructions</samp></dt>
  96. <dt><samp>-Fud</samp></dt>
  97. <dd><p>Treat all undocumented z80-instructions as errors.
  98. </p></dd>
  99. <dt><samp>-forbid-unportable-instructions</samp></dt>
  100. <dt><samp>-Fup</samp></dt>
  101. <dd><p>Treat undocumented z80-instructions that do not work on R800 as errors.
  102. </p>
  103. <a name="index-_002dr800-command-line-option_002c-Z80"></a>
  104. </dd>
  105. <dt><samp>-r800</samp></dt>
  106. <dd><p>Produce code for the R800 processor. The assembler does not support
  107. undocumented instructions for the R800.
  108. In line with common practice, <code>as</code> uses Z80 instruction names
  109. for the R800 processor, as far as they exist.
  110. </p></dd>
  111. </dl>
  112. <a name="index-Z80-Syntax"></a>
  113. </body>
  114. </html>