Peter L. Peres wrote: > > > decf mid, F > decf mid, F > decfsz low, F > incf mid, F > incfsz mid, F > decf high, F > > 6 T cycles, 6 words run time (constant). I think it's optimal. > > Peter Ok. Initial conditions are : high=0x03 , mid=0x02 , low = 0x01. high mid low 0x03 0x01 0x01 0x03 0x00 0x01 0x03 0x00 0x00 0x02 0x01 0x00 Result: high=0x02 , mid = 0x01 , low = 0x00. Hmm.. Very interesting 3 byte decrementing counter :) Which arithmetic base it used ? Is it Fields of Galua ? :))) WBR Dmitry.