Draw a synchronous, MOD-16, up/down counter. The count direction is controlled by dir ( dir 0 to count up).

Draw a synchronous, MOD-16, up/down counter. The count direction is controlled by dir ( dir 0 to count up).