<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="zkw">
  <refmeta>
    <refentrytitle>zkw</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>zkw</refname>
    <refpurpose>
      Writes to a zk variable at k-rate without mixing.
      <indexterm id="IndexZkw"><primary>zkw</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Writes to a zk variable at k-rate without mixing.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>zkw</command> ksig, kndx</synopsis>
 </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>ksig</emphasis> -- value to be written to the zk location.
    </para>

    <para>
      <emphasis>kndx</emphasis> -- points to the zk or za location to which to write.
    </para>

    <para>
      <emphasis>zkw</emphasis> writes <emphasis>ksig</emphasis> into the zk variable specified by <emphasis>kndx</emphasis>.
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the zkw opcode. It uses the files <ulink url="examples/zkw.orc"><citetitle>zkw.orc</citetitle></ulink> and <ulink url="examples/zkw.sco"><citetitle>zkw.sco</citetitle></ulink>.

      <example>
        <title>Example of the zkw opcode.</title>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/zkw.orc" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/zkw.sco" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>
      </example>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="zaw"><citetitle>zaw</citetitle></link>,
      <link linkend="zawm"><citetitle>zawm</citetitle></link>,
      <link linkend="ziw"><citetitle>ziw</citetitle></link>,
      <link linkend="ziwm"><citetitle>ziwm</citetitle></link>,
      <link linkend="zkr"><citetitle>zkr</citetitle></link>,
      <link linkend="zkwm"><citetitle>zkwm</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: Robin Whittle</member>
        <member>Australia</member>
        <member>May 1997</member>
      </simplelist>
    </para>
    <para>Example written by &namekevin;.</para>
  </refsect1>
</refentry>
