Skip to content

Instantly share code, notes, and snippets.

@74hc595
Created July 22, 2016 07:07
Show Gist options
  • Save 74hc595/88e3920a768ac3b883e33fd4a1955828 to your computer and use it in GitHub Desktop.
Save 74hc595/88e3920a768ac3b883e33fd4a1955828 to your computer and use it in GitHub Desktop.
PIC10F200 blinking LED
@74hc595
Copy link
Author

74hc595 commented Jul 22, 2016

One cycle can be saved if GP1 is used instead of GP2. W will contain the value 2, which can then be used to replace GOTO delay with SUBWF PCL,F to back up to the previous instruction. (DECF PCL,F produces an infinite loop.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment