added support for register 0 - 9