Have you run the program and seen it work?

I just did and it works fine! Lets see, was the letter you typed in the letter "k"?

It decoded no problems for me.

The best way to inderstand this program is to step through it using ICD mode... its hard to explain without viewing the registers at work.

Good luck, and may the force be with you.

Cheers
J