sc68fordevelopers  2.2.1
excep68.h
Go to the documentation of this file.
1 
17 /* Copyright (C) 1998-2001 Ben(jamin) Gerard */
18 
19 #ifndef _EXCEP68_H_
20 #define _EXCEP68_H_
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #define RESET_VECTOR 0x00
27 #define RESET_LVL 7
29 #define BUSERROR_VECTOR 0x08
30 #define BUSERROR_LVL 7
32 #define ADRERROR_VECTOR 0x0C
33 #define ADRERROR_LVL 7
35 #define ILLEGAL_VECTOR 0x10
36 #define ILLEGAL_LVL 7
38 #define DIVIDE_VECTOR 0x14
39 #define DIVIDE_LVL 7
41 #define CHK_VECTOR 0x18
42 #define CHK_LVL 7
44 #define TRAPV_VECTOR 0x1C
45 #define TRAPV_LVL 7
47 #define LINEA_VECTOR 0x28
48 #define LINEA_LVL 7
50 #define LINEF_VECTOR 0x28
51 #define LINEF_LVL 7
53 #define TRAP_VECTOR(N) (0x80+(4*(N)))
54 #define TRAP_LVL 7
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* #ifndef _EXCEP68_H_ */