[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::macro

Title:VAX MACRO assembler issues
Moderator:TLE::TROWEL
Created:Mon Mar 30 1987
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:257
Total number of notes:916

257.0. "Exception handler for a floating point trap, please." by GALVIA::MCCARTHY_M () Tue May 20 1997 13:34

I am working on a porting project from VAX to Alpha. I am generating an
exception on a divide by zero trap.

I am not a macro expert, some pointers to a solution or examples of an exception
handler would be of great help to me.

Thanks

Mick
T.RTitleUserPersonal
Name
DateLines
257.1QUARK::LIONELFree advice is worth every centTue May 20 1997 16:337
You'll need a lot more help - exception handling is much more complicated on
Alpha than it is on VAX.  In order to have any luck at all, you must compile
with /SYNCHRONOUS_EXCEPTIONS so that the compiler maintains "trap shadows".

What problem is your handler trying to solve?

				Steve
257.2Arithmetic Exception HandlerGALVIA::MCCARTHY_MFri May 23 1997 09:598
    I got it sorted.
    
    I wrote an exception handler to handle arithmetic exceptions for the
    movd instruction and everything works out as it should.
    
    Thanks 
                     
    Mick