Debian Codegraph @

opcodes/ftslice.xml

raw symbols SCIP
1 <!--Change refentry id and indexterm id-->
2 <refentry id="ftslice">
3 <indexterm id="IndexFtslice"><primary>ftslice</primary></indexterm>
4 <!--Make sure the category below is a valid one! See categories.py-->
5 <refentryinfo><title>Table Control:Read/Write Operations</title></refentryinfo>
6 <refmeta>
7 <refentrytitle>ftslice</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>ftslice</refname>
12 <refpurpose>
13 Copy a slice from an f-table to another f-table at performance
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>Plugin opcode in emugens.</para>
20 <para>
21 The <emphasis>ftslice</emphasis> opcode takes an f-table and copies a slice to a second
22 f-table (similar to tab2array, but between tables). This action is done at performance
23 (every cycle), so that it can be placed inside a k-time if clause / loop / etc.
24 For an init-only version, see <link linkend="ftslicei"><citetitle>ftslicei</citetitle></link>
25 </para>
26 </refsect1>
27
28 <refsect1>
29 <title>Syntax</title>
30 <!-- Please keep this below ~70 characters by using backslashes to avoid overflow in the pdf version-->
31 <synopsis><command>ftslice</command> ifnsource, ifndest [, kstart, kend, kstep ]</synopsis>
32 <synopsis><command>ftslice</command> kfnsource, kfndest [, kstart, kend, kstep ]</synopsis>
33
34 </refsect1>
35
36 <refsect1>
37 <title>Initialization</title>
38 <para>
39 <emphasis>ifnsource</emphasis> -- The table number to copy data from
40 </para>
41 <para>
42 <emphasis>ifndest</emphasis> -- The table number to copy data to
43 </para>
44 </refsect1>
45
46 <refsect1>
47 <title>Performance</title>
48 <!-- First list all input and output performance parameters-->
49 <para>
50 <emphasis>kstart</emphasis> -- The index to start copying from. <emphasis>Defaults to 0</emphasis>
51 </para>
52
53 <para>
54 <emphasis>kend</emphasis> -- The end index to stop copying.
55 This is NOT inclusive. 0 means copy to the end of the table. <emphasis>Defaults to end of table</emphasis>
56 </para>
57
58 <para>
59 <emphasis>kstep</emphasis> -- How many elements to skip. <emphasis>Defaults to 1</emphasis>
60 </para>
61
62 </refsect1>
63 <refsect1>
64 <!--To add examples, create the csd file in the examples directory, then run:-->
65 <!--python csd2docbook.py -f newopcodename.csd-->
66 <!--to generate the xml highlighted version used below-->
67 <title>Examples</title>
68 <para>
69 Here is an example of the ftslice opcode. It uses the file <ulink url="examples/ftslice.csd"><citetitle>ftslice.csd</citetitle></ulink>.
70 <example>
71 <title>Example of the ftslice opcode.</title>
72 <xi:include href="examples-xml/ftslice.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
73 </example>
74 </para>
75 </refsect1>
76
77 <refsect1>
78 <title>See also</title>
79 <para><link linkend="TableReadwrit"><citetitle>Read/Write Operations</citetitle></link></para>
80 </refsect1>
81
82 <refsect1>
83 <!-- And put your name and other relevant information here-->
84 <title>Credits</title>
85 <para>By: &nameeduardo; 2018</para>
86 <para>New plugin in version 6.12</para>
87 </refsect1>
88
89 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
90 <!--Add the entity to manual.xml-->
91 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
92 <!--And you're set! Maybe delete the comments as well...-->
93
94 </refentry>