to extract bits of lower nibble in your example for AND operator , shouldnt it had been opposite ? you should AND the lower nibble with all 0000 and the higher nibble with 1's so the higher ones remain unchanged . Am I right?
No. The example shown is extracting bits of lower nibble. This means you want to have the lower nibble bits unchanged and the higher nibble bits become zero. So the video is correct, you should AND the lower nibble with 1111 so they become unchanged and higher nibble with 0000 so they become zero as well.
Awesome man, your presentation is as simple and clear as it can possibly be.
The best lessen ever regardint bit manipulations. Thank you!
Couldn't understand shift operator
the explanation is so clear, thanks
Quite easy topic 🔥
Thank you so much !!!!💗💗💗💗
Can you add captions? I'm from europe and I can't understand everything clearly 💔
Hi Eliezra, thank you for the appreciation. I can understand your concern.. I will try to add subtitles in all my future videos..
Complete playlist link for: Unified Modeling Language (UML) videos
ua-cam.com/video/4GcggYQYrXU/v-deo.html
Complete playlist link for: Pointers in C
ua-cam.com/video/QHHbxvi4dpI/v-deo.html
Complete playlist link for: Embedded System videos
ua-cam.com/video/nccWuB5ypxI/v-deo.html
Can we use pointer or typecasting in bit masking
thanks
to extract bits of lower nibble in your example for AND operator , shouldnt it had been opposite ? you should AND the lower nibble with all 0000 and the higher nibble with 1's so the higher ones remain unchanged . Am I right?
No. The example shown is extracting bits of lower nibble. This means you want to have the lower nibble bits unchanged and the higher nibble bits become zero. So the video is correct, you should AND the lower nibble with 1111 so they become unchanged and higher nibble with 0000 so they become zero as well.
no close caption!
❤
I can't understand anything clearly 😐
l mera smj aai hai bkws hai