+0  
 
0
1076
5
avatar

0xaa02<<16

 Jun 24, 2015

Best Answer 

 #4
avatar+1036 
+5

Heureka’s interpretation and response is correct.

 

The double left less than << is a programming code meaning to shift the bits left, in this case, 16 times. (This is not the same as rotating the bits left). This effectively multiplies the registry value by 2, sixteen times.

 Jun 25, 2015
 #1
avatar+14538 
+5

aa02 ( 16-system) => 2*1+0*16^1+10*16^2+10*16^3= 43522   (10-system)

$${\mathtt{2}}{\mathtt{\,\times\,}}{\mathtt{1}}{\mathtt{\,\small\textbf+\,}}{\mathtt{0}}{\mathtt{\,\times\,}}{\mathtt{16}}{\mathtt{\,\small\textbf+\,}}{\mathtt{10}}{\mathtt{\,\times\,}}{{\mathtt{16}}}^{{\mathtt{2}}}{\mathtt{\,\small\textbf+\,}}{\mathtt{10}}{\mathtt{\,\times\,}}{{\mathtt{16}}}^{{\mathtt{3}}} = {\mathtt{43\,522}}$$

 Jun 24, 2015
 #2
avatar+26393 
+5

0xaa02<<16

 

$$AA02_{16} = 43522_{10}\\\\
0\times aa02<<16 =
43522\cdot 2^{16} = 2~852~257~792$$

 

 Jun 24, 2015
 #3
avatar+118677 
0

Radix and Heureka may have accurate imaginations but to me thie question is nonsense.

 Jun 25, 2015
 #4
avatar+1036 
+5
Best Answer

Heureka’s interpretation and response is correct.

 

The double left less than << is a programming code meaning to shift the bits left, in this case, 16 times. (This is not the same as rotating the bits left). This effectively multiplies the registry value by 2, sixteen times.

Nauseated Jun 25, 2015
 #5
avatar+118677 
0

Thank you Nauseated

 Jun 25, 2015

4 Online Users

avatar