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    <link rel="stylesheet" href="../css/timetable.css" type="text/css" />
8    <title>ifb - Start if block by boolean</title>
9  </head>
10  <body>
11    <h1>ifb - Start if block by boolean</h1>
12
13    <h2>Calling Format</h2>
14    <div class="section">
15      <pre class="definition">
16ifb     src
17</pre>
18    </div>
19
20    <h2>Operands</h2>
21    <div class="section">
22      <table class="arguments">
23        <thead>
24          <tr>
25            <th>Name</th>
26            <td>Description</td>
27          </tr>
28        </thead>
29        <tr>
30          <th>src</th>
31          <td>
32            A Boolean register.<br>
33          </td>
34        </tr>
35      </table>
36    </div>
37
38    <h2>Overview</h2>
39    <div class="section">
40      <p>
41        Executes conditional processing based on the contents of the Boolean register specified by <SPAN class="argument">src</SPAN>.<br> When it is <CODE>true</CODE>, the instructions between <CODE>ifb</CODE> and <CODE>endif</CODE> are executed. If there is an <CODE>else</CODE> instruction between <CODE>ifb</CODE> and <CODE>endif</CODE>, the instructions between <CODE>ifb</CODE> and <CODE>else</CODE> are executed.<br> When it is <CODE>false</CODE>, the instructions between <CODE>ifb</CODE> and <CODE>endif</CODE> are skipped and control moves to the instruction immediately after <CODE>endif</CODE>. If there is an <CODE>else</CODE> instruction between <CODE>ifb</CODE> and <CODE>endif</CODE>, the instructions between <CODE>else</CODE> and <CODE>endif</CODE> are executed.<br> This instruction must be followed by an <CODE>endif</CODE> instruction.<br>
42      </p>
43      <p class="notice">
44        You can nest a combined total of up to eight <CODE>ifb</CODE> and <CODE>ifc</CODE> instructions.<br>
45      </p>
46      <p class="warning">
47        You must include at least one instruction between <CODE>ifb</CODE> and <CODE>endif</CODE> as well as between <CODE>ifb</CODE> and <CODE>else</CODE>.<br>
48      </p>
49    </div>
50
51    <h2>Operation</h2>
52    <div class="section">
53<pre class="definition">
54if ( src == true )
55{
56    ...
57}
58</pre>
59    </div>
60
61    <h2>Code Example</h2>
62    <div class="section">
63<pre class="definition">
64ifb     b0
65    ...
66endif
67</pre>
68    </div>
69
70
71  <h2>Revision History</h2>
72  <div class="section">
73    <dl class="history">
74      <dt>2011/12/20</dt>
75      <dd>Initial version.<br />
76      </dd>
77    </dl>
78  </div>
79
80  <hr><p>CONFIDENTIAL</p></body>
81</html>