
         mov A,R4 
         mov B,#10;
         div AB     //a and b have the desired digits 
