Incidentally I came across that while looking for a 41-MCODE routine to calculate the sum of digits of a given number - anybody remembers where that'd be?
I don't know about MCODE and the HP-41, but here's a nice little HP-17b solver equation that gives you the sum of digits of a number. It even works on the newer HP-17bii+.