Skip to content

Instantly share code, notes, and snippets.

@mipsparc
Created May 25, 2018 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mipsparc/ee6eb7d8cb98ad51177a103806aa5318 to your computer and use it in GitHub Desktop.
Save mipsparc/ee6eb7d8cb98ad51177a103806aa5318 to your computer and use it in GitHub Desktop.
1から16まで足していくだけのPIC向けアセンブリ
ORG 0
RAMTOP
CLRF 0x20
CLRW
CALC
INCF 0x20
ADDWF 0x20, 0
BTFSS 0x20, 4
GOTO CALC
LAST
NOP
NOP
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment