Implemented all print_* functions to print registers as different formats.