What are the differences between traps and line a


Problem

1. What are the differences between TRAPS, illegal instruction exceptions, and line A and line F exceptions?

Write a TRAP #5 handler routine that, when called, turns on or off the 68000's trace mechanism.

2. 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.

The response should include a reference list. Double-space, using Times New Roman 12 pnt font, one-inch margins, and APA style of writing and citations.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What are the differences between traps and line a
Reference No:- TGS02130069

Expected delivery within 24 Hours