RE: [sv-ec] Re: [sv-bc] query on evaluation of typecast expression

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Tue May 13 2008 - 06:04:19 PDT
There is one difference. You're correct that the bit representations are
the same. But the interpretations of the results when used are
different, one is signed and the other is unsigned.

Shalom


> The situation and result should be the same as scenario 2.  
> The only significant difference between myreg and byte is 
> that myreg is 4-state and byte is 2-state, which doesn't 
> matter here since the values are in the 2-state value set.

 
> The situation here is the same as scenario 1, and so is the 
> result.  As in scenario 1, the operands of the subtract are unsigned.
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue May 13 06:07:00 2008

This archive was generated by hypermail 2.1.8 : Tue May 13 2008 - 06:07:27 PDT