Writing a digital stopwatch in assembly language