Fixed some problems with the definition of ramses. Fixed problem with lower-case registers. Tests form Ahmes and Ramses passed