Usually you do this a bit different: Using the functional description of what the asm-code has to perform begin to program that without looking at the asm. Can be something difficult when still learning C language.
Thanks a lot for your response and allow me to apologize for the delay.
It´s clear I´m not asking the right question so I´ll try to clarify what I need.
Basically what i need first is how to make a FIFO buffer in C.
Soon I´ll be posting some examples.