Question: 1. What are the differences between TRAPS, illegal instruction exceptions, and line A and line F exceptions?
2. Write a TRAP #5 handler routine that, when called, turns on or off the 68000 trace mechanism.
3. Write a trace-handling routine that prints the contents of the program counter each time a BSR instruction is executed. The op-code for BSR is $61XX, where XX is an 8-bit displacement. Note that if $XX = 0, the next word provides a 16-bit displacement.