摘要: #define SVC_0 0#define SVC_1 1#define SVC_2 2void SVC_Handler( void ){ asm("TST LR, #4"); asm("ITE EQ"); asm("MRSEQ R0, MSP"); asm("MRSNE R0, PSP"); asm("B SVC_Handler_main");}void Dummy0_Handler( unsigned int * svc_args ){ svc_args[6] += 4; // skip 阅读全文
posted @ 2013-05-01 01:00 IAmAProgrammer 阅读(1217) 评论(0) 推荐(0) 编辑