[an error occurred while processing this directive]
|
Почему если скомпилить файл в THUMB mode, линковщик ругается на след.код: (ош.: unresolved symbol __call_via_r0)
#define MAXHNDLRS 21
volatile U32 IntOffSet;
void (*InterruptHandlers[MAXHNDLRS])(void);
void Some_Routine (void)
{
// .........
IntOffSet = (U32)INTOFFSET;
// Вот на эту строчку:
(*InterruptHandlers [IntOffSet >> 2]) (); // Call interrupt service routine
}
E-mail: info@telesys.ru