Explain pointer arithmetic, function pointers, bit masking, shifting, and setting or clearing specific hardware registers.