9a1. The program just prints the number of keypresses 9a2. It happens that within the spinning the keyboard handler prints the number of keypresses. This is because the priority is set to 257 because it's an interrupt handler.