65,187
社区成员




int main()
{
unsigned char a=0xA5;
unsigned char b=((unsigned char)(~a))>>4;
printf("b=%d\n",b);
return 0;
}
; 27 : b=(unsigned char)~a>>4;
movzx eax, BYTE PTR _a$[ebp]
not eax
movzx ecx, al
sar ecx, 4
mov BYTE PTR _b$[ebp], cl
; 28 :
; 29 : b=~a>>4;
movzx eax, BYTE PTR _a$[ebp]
not eax
sar eax, 4
mov BYTE PTR _b$[ebp], al
; 30 :
; 31 : b=~(a>>4);
movzx eax, BYTE PTR _a$[ebp]
sar eax, 4
not eax
mov BYTE PTR _b$[ebp], al