Digital Electronics - Digital Arithmetic Operations and Circuits - Discussion
Discussion Forum : Digital Arithmetic Operations and Circuits - General Questions (Q.No. 32)
32.
If B[7..0] = 10100101, what is the value of B[6..2]?
Discussion:
5 comments Page 1 of 1.
Manoja V. said:
8 years ago
Thanks @Avnish.
Ravi kumar said:
8 years ago
Good explained @Avnish.
Akshat said:
8 years ago
Awesome, thank you so much @Avnish.
Laxman said:
1 decade ago
Thanks @Avnis, for brief description of problem.
Avnish said:
1 decade ago
Hi.
B[7..0] = 10100101.
B[6..2] = ?
Start from most significant bit.
B[7]=1.
B[6]=0.
B[5]=1.
B[4]=0.
B[3]=0.
B[2]=1.
B[1]=0.
B[0]=1, we take bit from 6 to 2 indexing so answer would be 01001.
Thats all.
B[7..0] = 10100101.
B[6..2] = ?
Start from most significant bit.
B[7]=1.
B[6]=0.
B[5]=1.
B[4]=0.
B[3]=0.
B[2]=1.
B[1]=0.
B[0]=1, we take bit from 6 to 2 indexing so answer would be 01001.
Thats all.
(1)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers