On Sat, 26 May 2012, Rhialto wrote: I have run a series of tests entering two odd numbers with different intervals between then. The first odd number is 41 because it turns on all the bits. The second is 255 because it affects all the bits. The table below list the number of consecutive high bits / number of low bits. interval bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 (original) 2/2 5/5 3/3 1/1 8/8 7/7 3/3 0 *2/0 *5/0 3/3 *2/0 8/8 *7/0 *3/0 1 1/1 4/1 3/3 0/2* 8/8 6/1 2/1 2 0/2* 3/2 3/3 5/2 1/2 3 1/1 2/3 4/3 0/3* 4 *2/0 1/4 3/4 1/2 5 1/0 0/5* 2/5 2/1 6 1/6 *3/0 7 0/7* 2/1 8 1/6 1/2 The numbers with the * are implied since all bits are the same. Bits 3 and 5 do not change. This is probably because I started with 41, which is necessary to turn them on. It will probably take 3 odd numbers to cycle bits 3 and 5. This sequence starts with the bits low and the turns them high. I have not tested what happens when you turn a high bit low. wlevak@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Message was sent through the cbm-hackers mailing listReceived on 2012-05-27 15:00:05
Archive generated by hypermail 2.2.0.