
<b>
acall read_num	;this routine reads from eeprom n stores number in desired location(0x60 to 0x69)
acall inc_num
acall stor_num  ;this routine stores incremented number back to eeprom
acall prn_num   ;this routine sends number to print / display etc


stor_num:

   push psw
   mov psw, #0
   push 0
   mov r0, #60h  ;initialising pointer

nxt_dig:

  inc @r0
  cjne @r0,#0Ah,go_ret
  mov @r0,#0
  inc r0
  cjne r0,#6Ah,nxt_dig

go_ret:

  pop 0
  pop psw
  ret
</b>
