Resolve issue regarding halting of PRU application

the assembly code for exiting the code is added using asm(const char* ASM_string). This is a temporary work around until any correct way of exiting is found using C code.