Can anybody tell me how to combine both C and assembly in Uvision 3? I know something like we have to use SRC directive,asm and endasm for assembly. Suppose i want to perform some addition operation in assembly and i want to print the result using printf statement in C.How to get the register values to C variables?