C / C++ CLI / WPF Tutorial

Sunday, January 21, 2018

Read arbitary bits

#define READ_VALUE(n, p, i) ((n) >> (p)) & ((1 <<(i)) - 1)

The above macro return the byes of specified position

Posted by Sabeesh at 10:45 PM No comments:
Labels: read bit
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2018 (1)
    • ▼  January (1)
      • Read arbitary bits
  • ►  2013 (2)
    • ►  March (1)
    • ►  February (1)
  • ►  2012 (1)
    • ►  April (1)
  • ►  2011 (5)
    • ►  October (2)
    • ►  August (1)
    • ►  June (1)
    • ►  March (1)
  • ►  2010 (6)
    • ►  October (1)
    • ►  September (3)
    • ►  April (1)
    • ►  January (1)
  • ►  2009 (2)
    • ►  December (2)
  • ►  2008 (1)
    • ►  June (1)
  • ►  2007 (2)
    • ►  June (2)

About Me

Sabeesh
View my complete profile
Awesome Inc. theme. Powered by Blogger.