è¿ä¸ªæ¯è¯å¥çä¸é¨åï¼åé¢è¿è¦æä¸ä¸ªæä½åéãæ¯å¦
a&0x00ffffff
&æ¯åç®æä½ç¬¦ï¼éè¦ä¸¤ä¸ªæä½æ°ï¼ä»£è¡¨å«ä¹ä¸º
æä½ä¸æä½ã
计ç®æ¶ï¼æä½è®¡ç®ï¼ä¸¤ä¸ªæä½æ°ä¸å¯¹åºä½çå¼å¦æå为1ï¼åç»æ对åºä½ä¸å¼ä¸º1ï¼å¦åç»æ对åºä½ä¸å¼ä¸º0ã
åææä½æ°0x00ffffffç
äºè¿å¶å¼ä¸º32ä½ï¼æé«8ä½ä¸º0ï¼å
¶ä½ä¸º1ï¼ç»¼åæä½ä¸çè¿ç®è§åï¼å¯ä»¥ç¥éç»æçæé«8ä½ä¸º0ï¼å©ä½24ä½ä¸å·¦è¾¹æä½æ°çä½24ä½å¼ç¸åã
äºæ¯a&0x00ffffffå°±æ¯åaçä½24ä½ï¼å³ä½3åèçå¼ã
æ¯å¦0x12345678 & 0x00ffffff = 0x00345678ã