1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../css/manpage.css" type="text/css" />
7    <title>Instructions That Cannot be Called Twice Consecutively</title>
8  </head>
9  <body>
10    <h1><a name="top">Instructions That Cannot be Called Twice Consecutively</a></h1>
11    <div class="section">
12      <p>
13        Some instructions and certain combinations of instructions cannot be called consecutively.<BR>
14      </p>
15    </div>
16
17    <h2><a name="block_end">Consecutive Calls to <CODE>else</CODE>, <CODE>endif</CODE>, <CODE>ret</CODE>, and <CODE>endloop</CODE></a></h2>
18    <div class="section">
19      <p>
20        You cannot call <CODE>else</CODE>, <CODE>endif</CODE>, <CODE>ret</CODE>, and <CODE>endloop</CODE> consecutively. <br> Example:<br>
21<pre class="definition">
22ifb     b0
23  nop
24  nop
25  ifb     b1
26    nop
27  else
28    nop
29    nop
30  endif // Error
31else
32  nop
33  nop
34  call    subroutine // Error because 'ret' is called at the end of the calling subroutine
35endif
36</pre>
37      </p>
38    </div>
39
40    <h2><a name="call_mova">Consecutive Calls to <CODE>mova</CODE></a></h2>
41    <div class="section">
42      <p>
43        The mova instruction cannot be called twice consecutively.<BR>
44      </p>
45    </div>
46
47
48    <h2><a name="call_jump">Calling <CODE>jpc/jpb</CODE> immediately before an <CODE>else</CODE>, <CODE>endif</CODE>, <CODE>ret</CODE>, or <CODE>endloop</CODE></a></h2>
49    <div class="section">
50      <p>
51        You cannot call <CODE>jpc</CODE> or <CODE>jpb</CODE> immediately before an <CODE>else</CODE>, <CODE>endif</CODE>, <CODE>ret</CODE>, or <CODE>endloop</CODE>.<BR> <br> Example:<br>
52<pre class="definition">
53ifb     b0
54  nop
55  nop
56  jumplabel:
57  nop
58  nop
59  jpb     b1, true, jumplabel // jpb cannot be called immediately before an endif
60endif
61</pre>
62      </p>
63    </div>
64
65    <h2><a name="call_breakc">Calling <CODE>breakc</CODE> immediately before an <CODE>endloop</CODE></a></h2>
66    <div class="section">
67      <p>
68        You cannot call <CODE>breakc</CODE> immediately before <CODE>endloop</CODE>.<BR> <br> Example:<br>
69<pre class="definition">
70loop    i0
71  nop
72  breakc  1, 1, 1 // You cannot call breakc immediately before endloop
73endloop
74</pre>
75      </p>
76    </div>
77
78
79  <h2>Revision History</h2>
80  <div class="section">
81    <dl class="history">
82      <dt>2011/12/20</dt>
83      <dd>Initial version.<br />
84      </dd>
85    </dl>
86  </div>
87
88  <hr><p>CONFIDENTIAL</p></body>
89</html>
90