Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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

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
 

Latest threads

Back
Top