<html lang="en">
<head>
<title>M68HC11-Directives - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="M68HC11_002dDependent.html#M68HC11_002dDependent" title="M68HC11-Dependent">
<link rel="prev" href="M68HC11_002dModifiers.html#M68HC11_002dModifiers" title="M68HC11-Modifiers">
<link rel="next" href="M68HC11_002dFloat.html#M68HC11_002dFloat" title="M68HC11-Float">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
@import url("../raisonance.css");
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<p>
<a name="M68HC11-Directives"></a>
<a name="M68HC11_002dDirectives"></a>
Next:&nbsp;<a rel="next" accesskey="n" href="M68HC11_002dFloat.html#M68HC11_002dFloat">M68HC11-Float</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="M68HC11_002dModifiers.html#M68HC11_002dModifiers">M68HC11-Modifiers</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="M68HC11_002dDependent.html#M68HC11_002dDependent">M68HC11-Dependent</a>
<hr>
</div>

<h4 class="subsection">8.19.4 Assembler Directives</h4>

<p><a name="index-assembler-directives_002c-M68HC11-1112"></a><a name="index-assembler-directives_002c-M68HC12-1113"></a><a name="index-M68HC11-assembler-directives-1114"></a><a name="index-M68HC12-assembler-directives-1115"></a>
The 68HC11 and 68HC12 version of <code>as</code> have the following
specific assembler directives:

     <dl>
<dt><code>.relax</code><dd><a name="index-assembler-directive-_002erelax_002c-M68HC11-1116"></a><a name="index-M68HC11-assembler-directive-_002erelax-1117"></a>The relax directive is used by the `<samp><span class="samp">GNU Compiler</span></samp>' to emit a specific
relocation to mark a group of instructions for linker relaxation. 
The sequence of instructions within the group must be known to the linker
so that relaxation can be performed.

     <br><dt><code>.mode [mshort|mlong|mshort-double|mlong-double]</code><dd><a name="index-assembler-directive-_002emode_002c-M68HC11-1118"></a><a name="index-M68HC11-assembler-directive-_002emode-1119"></a>This directive specifies the ABI.  It overrides the `<samp><span class="samp">-mshort</span></samp>',
`<samp><span class="samp">-mlong</span></samp>', `<samp><span class="samp">-mshort-double</span></samp>' and `<samp><span class="samp">-mlong-double</span></samp>' options.

     <br><dt><code>.far </code><var>symbol</var><dd><a name="index-assembler-directive-_002efar_002c-M68HC11-1120"></a><a name="index-M68HC11-assembler-directive-_002efar-1121"></a>This directive marks the symbol as a `<samp><span class="samp">far</span></samp>' symbol meaning that it
uses a `<samp><span class="samp">call/rtc</span></samp>' calling convention as opposed to `<samp><span class="samp">jsr/rts</span></samp>'. 
During a final link, the linker will identify references to the `<samp><span class="samp">far</span></samp>'
symbol and will verify the proper calling convention.

     <br><dt><code>.interrupt </code><var>symbol</var><dd><a name="index-assembler-directive-_002einterrupt_002c-M68HC11-1122"></a><a name="index-M68HC11-assembler-directive-_002einterrupt-1123"></a>This directive marks the symbol as an interrupt entry point. 
This information is then used by the debugger to correctly unwind the
frame across interrupts.

     <br><dt><code>.xrefb </code><var>symbol</var><dd><a name="index-assembler-directive-_002exrefb_002c-M68HC11-1124"></a><a name="index-M68HC11-assembler-directive-_002exrefb-1125"></a>This directive is defined for compatibility with the
`<samp><span class="samp">Specification for Motorola 8 and 16-Bit Assembly Language Input
Standard</span></samp>' and is ignored.

   </dl>

   </body></html>

