Re: LZ: ZSHELL


[Prev][Next][Index][Thread]

Re: LZ: ZSHELL



Adam Schwarcz wrote:
> 
> Not sure 'bout or or xor, but carry is when you add two binary numbers like this
> 
> 1001010
> 0100110
> -------
> 
> The two 0s stay 0, but the two ones become 0, and there is one in carry, it
> needs to be added to the next column. The cary and the 1 make 0 again, and
> 1 in the carry, again this happens, followed by 0 and 1 for a 1 (no carry)
> and so on. The answer is
> 1110000
> 
> I think (i did this all in my head)
That is one usage of the word "CARRY", yes.  But he was refering to the
carry bit, which performs a diffrent function.  It tells you if a 4 bit
add gives you a 5 bit answer, or if a 8 bit add gives you a 9 bit
answer. It is very useful when working with large numbers or
subtraction.


References: