<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="zkr">
  <refmeta>
    <refentrytitle>zkr</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>zkr</refname>
    <refpurpose>
      Reads from a location in zk space at k-rate.
      <indexterm id="IndexZkr"><primary>zkr</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Reads from a location in zk space at k-rate.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>kr <command>zkr</command> kndx</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>kndx</emphasis> -- points to the zk location to be read.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>zkr</emphasis> reads the array of floats at <emphasis>kndx</emphasis> in zk space.
    </para>
  </refsect1>

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

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

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

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

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="zar"><citetitle>zar</citetitle></link>,
      <link linkend="zarg"><citetitle>zarg</citetitle></link>,
      <link linkend="zir"><citetitle>zir</citetitle></link>,
      <link linkend="zkcl"><citetitle>zkcl</citetitle></link>,
      <link linkend="zkmod"><citetitle>zkmod</citetitle></link>,
      <link linkend="zkwm"><citetitle>zkwm</citetitle></link>,
      <link linkend="zkw"><citetitle>zkw</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>
