This forum is closed. Thank you for your contributions.
Sign in
Microsoft.com
United States (English)
Australia (English)
Brasil (Português)
Česko (Čeština)
Danmark (Dansk)
Deutschland (Deutsch)
España (Español)
France (Français)
Indonesia (Bahasa)
Italia (Italiano)
Magyarország (Magyar)
Nederland (Nederlands)
Polska (Polski)
România (Română)
Singapore (English)
Türkiye (Türkçe)
Россия (Русский)
ישראל (עברית)
المملكة العربية السعودية (العربية)
ไทย (ไทย)
대한민국 (한국어)
中国 (中文)
台灣 (中文)
日本 (日本語)
香港特別行政區 (中文)
Microsoft
Home
Ask a question
Quick access
Forums home
Browse forums users
FAQ
Search related threads
Remove From My Forums
Asked by:
how to get bit value..??
Academic Initiatives
>
Technical Queries
Question
0
Sign in to vote
in specific 8 bit register. how to get a value of 5th bit or any specific bit value.
how to check it is 0 or 1 ??
and how to change only specific bit value..??
Thursday, September 27, 2007 5:33 AM
All replies
0
Sign in to vote
try masking with bit value..
like for 5th bit finding...
multiply register value with 00010000=0x10
if u get o/p 0 then 5th bit is 0.
if u get o/p 0x10 then 5th bit is 1.
Thursday, September 27, 2007 10:56 AM
© 2021 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement