i use 3ff8h,3ff9h,3ffah,3ffbh,3ffch,3ffdh,3ffeh,3ffeh,3ff the code for make clock is : Start : mov dptr,#3fffbh (hour) clr a mov a,@a+dptr call phex mov a,#':' mov dptr,#3fffah (min) clr a mov a,@a+dptr call phex mov a,#':' mov dptr,#3fff9h (sec) clr a mov a,@a+dptr call phex call newline mov dptr,#3fffch (day) clr a mov a,@a+dptr call phex mov a,#'/' mov dptr,#3fffch (date) clr a mov a,@a+dptr call phex mov a,#'/' mov dptr,#3fffeh (month) clr a mov a,@a+dptr call phex mov a,#'/' mov dptr,#3fffeh (year) clr a mov a,@a+dptr call phex the code is note full complete ,but it is enough to give me some advices.. the result is : 19:27:45 06/28/10/05 I want to change 06 to be fri (friday) if somebody has some idea i will be very happy if help me ??
can you help me with this Lookup Table ?