Hardware
--
Questions
--
Followers
Top Experts
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
how do I extract this 31 bit and put it to one bit variable called result?
I don't know if they shift in 1's, 0's, or copies of the MSB
A circular shift 1-bit to the right and anding the 31 MSB with 0's could work too.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
You should be able to say sometihing like
   Result =  !Number[31]    where   ! is negation    and  [31] is the index.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Hardware
--
Questions
--
Followers
Top Experts
Hardware includes cell phones and other digital living devices, tablets, computers, servers, peripherals and components, printers and scanners, gaming consoles, networking hardware such as routers, hubs, switches and modems, storage devices and security equipment such as firewalls and other appliances.