Support for '****($*)' formatting added

added support for register value inside hex value formatted, with
updated comments. plus an error message for improper sll or srl hex
value formatting