print the char stored in register