Hi all, Just courious on a reflected numeric system. I've read an old book "understanding digital computers" in which Paul Siegel* speak about positional numeric systems. Talking about some dificulties in loops counters in which all digits must change (199999 --> 200000) he says that the solution is a numeric system in a reflexed manner. (Sorry, the text is in Spanish, and I am trying to re-translate it to you, with my bad grammar.) It means that no matter how many digits has the number, the adjacent number in the refelxed form, will change in only one digit. Can anyone point me where can I find some theory on the net? Is it some how practical for our loop counters on pics programming? how can it be implemented?,... don't answer this.(I want to try alone first!:) example: decimal decimal binary reflected reflected 0 0 0 1 1 1 2 2 11 3 3 10 4 4 110 5 5 111 6 6 101 7 7 100 8 8 1100 9 9 1101 10 19 1111 11 18 1110 12 17 1010 13 16 1011 14 15 1001 15 14 1000 16 13 11000 17 12 11001 18 11 11011 19 10 11010 20 20 11110 21 21 11111 22 22 11101 23 23 11100 24 24 10100 25 25 10101 26 26 10111 27 27 10110 28 28 10010 (*)Paul Siegel author of "Understanding Digital Computers" Ed. Jhon Wiley & Sons, INC - New York ~1956? pretty old, ah? Dennis Crawley Argentina -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads