What if anything is theoretically wrong with this c / C ++ statement:
*memory++ = BIT_MASK & *memory;
Where BIT_MASKis an arbitrary bitmask AND, and memory is a pointer.
The goal was to read the memory cell, the ANDvalue with a mask, save the result in the original location, and then finally increase the pointer to point to the next memory cell.
user1069620
source
share