chicken_feet
Member level 4
Hi all,
I would like to know if there are anyway of writing a loop in assembly where for each loop, we can address a particular bit according the amount of loop cycle?
For example -
For COUNT = 0 until COUNT = 7, do
{
output_pin = bit(count) of variable
}
enddo
------------------------------
I need to know how to address bit(count) - if there are any ways of doing it....
thks.
rgds,
chicken_feet
I would like to know if there are anyway of writing a loop in assembly where for each loop, we can address a particular bit according the amount of loop cycle?
For example -
For COUNT = 0 until COUNT = 7, do
{
output_pin = bit(count) of variable
}
enddo
------------------------------
I need to know how to address bit(count) - if there are any ways of doing it....
thks.
rgds,
chicken_feet