hi, as the title says, me=noob at this. i have my 16f84A pic, a velleman k8048 programmer kit and nearly no knowledge of assembly wotsoeva until a few days ago. i have made the kit and everything, i have tested it, it works with the demo programs which come with the programmer. i have used c/c++/java/basic etc for most of my programming life. attached is a program i have put together in assembly for my pic. the problem is that i cant seem to rewrite the state variable in the input subroutine, which determines whether or not the led is on in the output subroutine. led0: led to be switched off led1: led to indicate button has been pressed led1 comes on after the switch is pressed and released, but led0 stays on. the delay code wos nicked from a tutorial btw. plzz help me. file: http://www.nabble.com/file/6433/on.asm on.asm -- View this message in context: http://www.nabble.com/help-a-noob--tf3209925.html#a8913973 Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist