how can i convert this code from C language into assembly ??

Status
Not open for further replies.

zika1212

New Member
i'm using PIC16f84a and i want to write this code from C language into assembly ??

there should be a pin to work as a switch; up=0 and down=1...


debounce:
while (switch==up);
for (delay=0;(switch==down)&&(delay<20 msec);delay++);
if (delay<20 msec)
goto debounce
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…