I need to include an asm-function at c code. The function looks like:
int test(int *ptr_test, int test_size);
I created asmroutine.h file where my function is declared and then .s file where the function written in asm exists. I call the function with parameters in .c and there weird things start to happen:
While debugging, i put a breakpoint at the function calling in .c code, then step inside and continue - everything works perfectly; It doesn't work without a breakpoint, ended up in dummy_handler and it never enter an asm-func (I put a bp inside asm)
Maybe I was wrong in declaring and compiller cannot find a right way to asm-code, But with a BP it does.
I provided mentioned files, the target func is cycloner