EXCEPTION

Creates the exception table index in the output file.

  EXCEPTION
  
  
  Remarks
  
  

Only C++ code requires exception tables. To create an exception table, add the EXCEPTION command, with symbols __exception_table_start__ and __exception_table_end__, at the end of your code section segment, just as the following listing shows. (At runtime, the system identifies the values of the two symbols.)

Example

The following listing shows the code for creating an exception table.

Listing: Creating an Exception Table

  __exception_table_start__ = .;

  EXCEPTION

  __exception_table_end__ = .;