HP3000-L Archives

November 2005, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Wed, 2 Nov 2005 11:31:32 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Craig asks:


> I know Stan no longer subscribes to the list...

I still check it from time to time ... far more often than
I check the HP ITRC forums :)

> But could someone ask him...
>
> What is a "Conditional Trap (HARDWARE INTERRUPT 13)?"
>
> Inquiring minds wanna know...

You executed a particular PA-RISC instruction that trapped :)

An example is the SUBT,>   22,1,0
instruction, which Pascal/iX might emit as part of the range
checking code generated for:  i := i + j,   where "i" is a 
16 bit signed integer.

When SUBT's condition is satisfied, hardware trap 13 is caused.
Note that the trap handler may report this as:
   **** Bound violation or range error (TRAPS 12).


To get more information, do:       :setdump
before running your program.  If you trap again, enter:

    dr
and
    dc pc

-- 
Stan Sieler
work:     www.allegro.com
personal: www.sieler.com/wanted/index.html  

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2