LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   meaning of hm &= macro (https://www.linuxquestions.org/questions/linux-newbie-8/meaning-of-hm-and-%3D-macro-484789/)

ashlesha 09-18-2006 07:25 PM

meaning of hm &= macro
 
Can someone please tell me what this code segment translates to:

u16 hm;
hm &= PCI_BASE_ADDRESS_IO_MASK

Thank you!

Ashlesha.

Leisy 09-18-2006 07:58 PM

in c++ or java it is bitwise AND. &= is just short version of hm = hm & PCI_BASE_ADDRESS_IO_MASK


All times are GMT -5. The time now is 05:08 PM.