Hardware errors

Hardware errors are returned when a component of the system can no longer operate and must return a serious failure. The error numbers allocated all have their top 8 bits set to &80 and are reserved in groups of 256. Consult PRM 1-43 for a fuller description. The following groups are reserved :

&80000000 Machine exceptions
&80000100 Coprocessor exceptions
&80000200 Floating point exceptions
&80000300 Econet exceptions
&80000400 Reserved
&80000500 Reserved for interpreted exceptions

The error numbers used within the machine exceptions are as follows :

&80000000           Undefined instruction
&80000001 Abort on instruction fetch
&80000002 Abort on data transfer
&80000003 Address exception (no longer returned by the OS)
&80000004 Unknown IRQ (no longer returned by the OS)
&80000005 Branch through zero
&80000006 Privileged mode stack corruption (detected by PBTS)
&80000007 Privileged mode stack overflow (abort due to sp below threshold)
&80000008 Privileged mode stack corrupt (abort due to sp outside valid range)

This documentation is copyright 3QD Developments Ltd 2013 and may not be reproduced or published in any form without the copyright holders permission. RISC OS is subject to continuous development and improvement as such all information is reproduced by 3QD Developments Ltd in good faith and is believed to be correct at the time of publication E&OE. 3QD Developments Ltd cannot accept any liability for any loss or damage arising from the use of any information provided as part of the RISC OS Documentation.

HTML document version 1.03 3rd November 2015