<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Carry flag - Page 6 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Carry_flag&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Carry_flag&amp;p=7">3.Next</a>
</p>
<p><code>11111110</code> (decimal 254 decimal).  Since there is carry out of bit 7 (the eighth bit), the carry is set, indicating that the result needs 9 bits. The valid 9-bit result is the concatenation of the carry flag with the result.</p>

<p>The other common ALU <a href="page.php?w=status_register">status register</a> bits will be <code>Sign_Flag</code> set, <code>Zero_flag</code> clear, and <code>Overflow_Flag</code> clear.</p>

<p>If <code>11111111</code> represents two's complement signed integer -1 (x86 instruction <code>ADD al,-1</code>),</p><p>
<a accesskey="1" href="page.php?w=Carry_flag&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Carry_flag&amp;p=7">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
