summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-07-26 14:50:18 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-07-26 14:50:18 +0000
commit5c739065aa028b53e0321d2b11ad262ff2cb3e25 (patch)
treeee58ad76eab79374ee1d48cf6abe2b3794b32b6b
parentbootloader 887 with com-spi works now (diff)
fixed 16F18xx blink example
git-svn-id: https://svn.spreadspace.org/pic/trunk@94 a09c6847-51d9-44de-8ef2-e725cf50f3c7
-rw-r--r--blink-16F18xx/blink.asm12
1 files changed, 3 insertions, 9 deletions
diff --git a/blink-16F18xx/blink.asm b/blink-16F18xx/blink.asm
index 515e389..08bc7ee 100644
--- a/blink-16F18xx/blink.asm
+++ b/blink-16F18xx/blink.asm
@@ -36,24 +36,18 @@ CNT1 EQU H'0021'
;; -------------------------------------
;; OFFSET
- org 0
+ org .0
;; -------------------------------------
;; INIT
init
- ;; BANK 3
- movlw b'00000011'
- movwf BSR
- clrf ANSELA
-
;; BANK 1
- movlw b'00000001'
- movwf BSR
+ movlb .1
movlw b'11111110'
movwf TRISB
;; BANK 0
- clrf BSR
+ movlb .0
bcf PORTB,0