determine number of valid bits in array

Status
Not open for further replies.

ssubha

Junior Member level 2
Joined
Feb 1, 2011
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,435
I have declared array of 16 bits containing 32 entries. Each of the entries has values ranging from one bit to sixteen bits. How do I determine the number of bits in an entry?
 

use counter for each entry
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…