Search:

Type: Posts; User: sjmp

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,891

    Sorry this was one of the examples for the reader...

    Sorry this was one of the examples for the reader to figure out



    6
    49
    "Write a function setbits(x,p,n,y) that returns x with the n bits that begin at position p set to the rightmost n bits of...
  2. Replies
    7
    Views
    2,891

    Explanation of function setbits

    Can someone please provide me with a walk through of the function setbits return statements. And do you know why in the main function i is added to 511 and j is added to 37?

    The code is a example...
Results 1 to 2 of 2