carmeloA
Junior Member level 1
Hi to all,
how can I loop through each rgister from r0 to r7?
I have some data in the registers r0:r7 and i want to compare them with a constant; i need to put 8 line of sub and cmp or is there any solution with branches in order make the solution more clever like a "branch for registers".
I googled but the only i can find is how to manage this king of loop when i have data in memory and not in registers.
Thanks for any advice
how can I loop through each rgister from r0 to r7?
I have some data in the registers r0:r7 and i want to compare them with a constant; i need to put 8 line of sub and cmp or is there any solution with branches in order make the solution more clever like a "branch for registers".
I googled but the only i can find is how to manage this king of loop when i have data in memory and not in registers.
Thanks for any advice