Skip to content

Instantly share code, notes, and snippets.

@mipsparc
Created June 2, 2018 09:48
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/6189ee801c530835243f0495ab3444b2 to your computer and use it in GitHub Desktop.
Save mipsparc/6189ee801c530835243f0495ab3444b2 to your computer and use it in GitHub Desktop.
include less ver.
__CONFIG 0x8007, 0xFFA4
ORG 0
RAMTOP
MOVLB 0x1
MOVLW b'00010010'
MOVWF 0x99
CLRF 0x8E
MOVLB 0x3
CLRF 0x18E
MOVLB 0x0
CLRF 0xE
CLRF 0x20
CLRW
CALC
INCF 0x20
ADDWF 0x20, 0
MOVWF 0xE
BTFSS 0x20, 4
GOTO CALC
LAST
GOTO LAST
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment