I am using GCC with AVR Studio 4 and would like to write a function in assembler. Basicaly it is not a big problem but I dont know how to return a string.
I would like to use the funktion like any other functin.
Thus if I hav the assembler function myfunc(input_string*) I want to be able to call it with output_string = myfunc(input_string*); or also strlen(myfunc(input_string*));.
Is there any tutorial that describes that? And where can I find the "Register Usage Guidelines" of the avr-libc-documentation. I seem to be missing something.
Thank you very much for any help.