
   mov   a,SecondsInDecimal
   mov   b,#10
   div   ab     ;isn't it wonderful that we have div in '51?!
   swap  a      ;tens will go into upper 4 bits
   orl   a,b    ;ones will go into lower 4 bits
   mov   P1,a