Motorola MVME177 manual 177Bug Generalized Exception Handler

Models: MVME177

1 171
Download 171 pages 43 Kb
Page 122
Image 122

B

Debugger General Information

177Bug Generalized Exception Handler

The 177Bug has a generalized exception handler which it uses to handle all of the exceptions not listed in Table B-3. For all these exceptions, the target stack pointer is left pointing to the top of the exception stack frame created. In this way, if an unexpected exception occurs during execution of your code, you are presented with the exception stack frame to help determine the cause of the exception. The following example illustrates this:

Example:

Bus error at address $F00000. It is assumed for this example that an access of memory location $F00000 initiates bus error exception processing.

B-42

Page 122
Image 122
Motorola MVME177 manual 177Bug Generalized Exception Handler