Motorola MPC564EVB Manual de usuario Pagina 91

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 90
Chapter 3. Using the Monitor/Debug Firmware 3-41
System Call Functions
C example:
int
board_isr_remove (void *handler)
{
asm( "addi r10,r0,0x0041");
asm( "sc");
}
3.5.6 EXIT_TO_dBUG
This function transfers the control back to the dBUG, by terminating the user code. The register
context is preserved.
C example (see scif.s”file : anything in R10 besides 0x0000, 0x0001, 0x0020, 0x0030, 0x0031,
0x0040, 0x0041):
asm( "addi r10,r0,0x0063");
asm( "sc");
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vista de pagina 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 97 98

Comentarios a estos manuales

Sin comentarios