AMX 68000 Manual de usuario Pagina 81

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 90
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 80
AMX 68000 Target Guide
K
A
DAK
B-19
cjksitrap cjksitrap
Purpose Install a Task Trap Handler
Used by
n Task o ISP o Timer Procedure o Restart Procedure n Exit Procedure
Setup Prototype is in file
CJZZZIF.H.
#include "CJZZZ.H"
CJ_ERRST CJ_CCPP cjksitrap(int trapid, CJ_TRAPPROC handler);
Description trapid is the processor vector number which identifies the particular error
trap.
CJ_PRVNZD Zero divide trap
CJ_PRVNCH CHK (bounds check) instruction trap
CJ_PRVNTV TRAPV (overflow test) instruction trap
handler is a pointer to the task's trap handler for the particular error trap.
Interrupts o Disabled o Enabled o Restored
Returns Error status is returned.
CJ_EROK Call successful.
Errors returned:
CJ_ERTKTRAP Trapid is not a vector number for which task traps
are allowed.
Vista de pagina 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 89 90

Comentarios a estos manuales

Sin comentarios