
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");
Summary of Contents for MPC564EVB
Page 1: ...MPC564EVBUM Rev 1 2 3 2003 MPC564EVB User s Manual ...
Page 6: ......
Page 10: ...Contents Paragraph Number Title Page Number iv MPC564EVB User s Manual MOTOROLA ...
Page 50: ...2 12 MPC564EVB User s Manual System Power up and Initial Operation ...
Page 92: ...3 42 MPC564EVB User s Manual System Call Functions ...
Page 98: ...B 4 MPC564EVB User s Manual Troubleshooting Network Problems ...