Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to convert this to C:
rECX is the name of the (32bit unsigned int)register variable. It should be simple, but I can't figure out the proper pointer magic :/
*(unsigned char*)&rECX >>= 1;
rECX = (rECX & 0xFFFFFF00) | ((rECX & 0xFF) >> 1)
Required, but never shown