Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHow to jump to labels which are defined in C code
Hi, In order to speed up system, I write a routine in ASM instructions. Then in asm code, I intend to jump to a label named LOOP which is defined in C code, but I failed. The following error oc...
Altera_Forum
Honored Contributor
20 years agoDuh ... sorry :
<div class='quotetop'>QUOTE </div> --- Quote Start --- asm volatile ( "0: ldwio r7,0(r4) \n" " stwio r7,0(r5) \n" " addi r5,r5,4 \n" " addi r4,r4,4 \n" " addi r6,r6,-4 \n" " bne r6,zero,0b \n" );[/b] --- Quote End --- Regards, --Scott