<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[dubbio complemento a due]]></title><description><![CDATA[<p dir="auto">se io ho la seguente maschera:</p>
<p dir="auto"><em><strong><strong><strong><strong><strong><strong><strong>32bit</strong></strong></strong></strong></strong></strong></strong></em><br />
<strong>8bit</strong><br />
00000000 00000000 00000000 11111111  ==&gt; [DECIMALE] 255</p>
<p dir="auto">e voglio ottenere la maschera | (cioè fare uno shift a destra di 8 bit):<br />
V</p>
<p dir="auto"><em><strong><strong><strong><strong><strong><strong><strong>32bit</strong></strong></strong></strong></strong></strong></strong></em><br />
<strong>8bit</strong><br />
00000000 00000000 00000000 00000000  ==&gt; [DECIMALE] 0</p>
<p dir="auto">quale valore decimale dovrei utilizzare per ottenere lo shift, considerando che i numeri vengono rappresentati in complemento a due?<br />
255 o 256?</p>
<p dir="auto">Il mio dubbio è:</p>
<p dir="auto">SE considero 256 ed esso deve essere rappresentato in complemento a due, avrà la mascherà di 255?</p>
]]></description><link>https://connect.gt/topic/108969/dubbio-complemento-a-due</link><generator>RSS for Node</generator><lastBuildDate>Fri, 22 May 2026 12:30:02 GMT</lastBuildDate><atom:link href="https://connect.gt/topic/108969.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Aug 2009 13:37:50 GMT</pubDate><ttl>60</ttl></channel></rss>