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...
Type: Posts; User: sjmp
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...
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...