Debian Codegraph @

opcodes/push_f.xml

raw symbols SCIP
1
2 <refentry id="push_f">
3 <indexterm id="Indexpush_f"><primary>push_f</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Stacks</title></refentryinfo>
5 <refentryinfo><title>Deprecated</title></refentryinfo>
6 <refmeta>
7 <refentrytitle>push_f</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>push_f</refname>
12 <refpurpose>
13 Pushes an f-sig frame into the global stack. Deprecated.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>Plugin opcode in stackops.</para>
20 <para>
21 Pushes an f-sig frame into the global stack.
22 </para>
23 </refsect1>
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis><command>push_f</command> fsig</synopsis>
27 </refsect1>
28
29 <!-- <refsect1>
30 <title>Initialization</title>
31 </refsect1>-->
32 <refsect1>
33 <title>Performance</title>
34 <para>
35 <emphasis>fsig </emphasis> - f-signal to be pushed into the stack.
36 </para>
37 <para>
38 The values are pushed into the global stack. The global stack works in LIFO order: after multiple <emphasis>push_f</emphasis> calls, <link linkend="pop_f"><citetitle>pop_f</citetitle></link> should be used in reverse order.
39 </para>
40 <para>
41 push/pop for a, k, i, and S types copy data by value. By contrast, <emphasis>push_f</emphasis> only pushes a "reference" to the f-signal, and then the corresponding <link linkend="pop_f"><citetitle>pop_f</citetitle></link> will copy directly from the original variable to its output signal. For this reason, changing the source f-signal of <emphasis>push_f</emphasis> before <link linkend="pop_f"><citetitle>pop_f</citetitle></link> is called is not recommended, and if the instrument instance owning the variable that was passed by <emphasis>push_f</emphasis> is deactivated before <link linkend="pop_f"><citetitle>pop_f</citetitle></link> is called, undefined behavior may occur.
42 </para>
43 <para>
44 <link linkend="pop_f"><citetitle>pop_f</citetitle></link> and <emphasis>push_f</emphasis> can only take a single argument, and the data is passed both at init and performance time.
45 </para>
46 <para>
47 Any stack errors (trying to push when there is no more space, or pop from an empty stack, inconsistent number or type of arguments, etc.) are fatal and terminate performance.
48 </para>
49 </refsect1>
50
51 <refsect1>
52 <title>See also</title>
53 <para><link linkend="ControlStacks"><citetitle>Stacks</citetitle></link></para>
54 </refsect1>
55
56 <refsect1>
57 <title>Credits</title>
58 <para>By: &nameistvan;.</para>
59 <para>2006</para>
60 <para>Deprecated as of version 6.04.</para>
61 </refsect1>
62 </refentry>