Hi! I need to generate three bytes of pseudo-random numbers for an app. I'm working on that features PIC12C508 and 509. Then I need to count the number of ones present on those 24 bits. Any cool ideas on solving any of these tasks are welcome! Thanks a lot! ------------------------------------ netQ http://virtuaweb.com/picprog "Home of amateur PIC programmers..." -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQCNAzV38BkAAAEEALfWv9j3f+tZ+z2IW+2o9Ebx4bUGnHjHPqIe0a6yVKawaeV/ Y4I6L2/A0ddbVMG8+qJ0MvHNkr3DzYkpW+hTl9zAzXkKBdZ3GA5bbvot7entl/O2 YDtRWUV730koxBo5iFFUbJH5kbmkox+h3znj34zPnZNWzNaqOAwol3wABfBNAAUT tBxOZXRRIDxuZXRxdWFrZUBpbm5vY2VudC5jb20+ =0bVU -----END PGP PUBLIC KEY BLOCK-----