[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            bitrevb - bit reverse a byte

  Syntax              unsigned char bitrevb(unsigned char value);

  Prototype in        mathhk.h

  Remarks             bitrevb() will reverse the bits in the byte value.

  Return value        returns the reversed byte.

  See also            bitrevl(), bitrevw()

  Example             #include <mathhk.h>

                      main()
                      {
                           printf("0x01 reversed => 0x%02X\n",
                                  bitrevb(0x01));
                      }

  Program output      0x01 reversed => 0x80


See Also: bitrevl() bitrevw()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson