Posted:
February 1, 2000
Due:
Monday, February 14, 2000, by 16:00 in the ENSC departmental office
Modify the program, irqtst, so that it prints one of your user defined characters (from asn1) each time the push-button is pressed, up to a maximum of 8 chars. After that it should not print anything when the push-button is pressed.
Use your "best" coding habits. You can modify any part of the irqtst program. Note, you most likely have to set the top bit of control register INTCR (located at $001e), see page 53 in the 6812 technical summary. Otherwise your active low push-button may trigger several interrupts before you can take your finger off of it.