It does exactly what you asked for in your first post. Place 255 in W, call the code and 50,53 & 53 will be in Decimal100, Decimal10 and Units. All magically done without a lookup table.
If you look at the code after the line "goto Count10s" the calculated values have constants added to them to make them into the ascii (ansii) code. The added values vary due to the way the code works.
If you have MPLAB then just copy it into it and run the simulator.