i’m working with Keil ARMCompiler 6.15 (armclang.exe) and i’m in doubt of the correctess of the generated assembler code. It seems to me that the attribute ‘interrupt("IRQ")’ is ignored. For me r1 and r2 should be saved on the stack, too. When i remove the attribute ‘used’ my complete function is removed (optimization). Can anyone ..
I am trying to create wrapper functions around functions provided by the RTOS. In the wrapper function I use inline assembly in order to call software interrupt instruction (SVC) so that processor jumps to the SWI handler which further calls the actual OS function by first extracting the SWI number and then indexing into the ..