summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-07-10 23:41:26 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-07-10 23:41:26 +0000
commit7d18b885689ac9fbf580d11a3348ba23cdccc8b4 (patch)
tree101dd607917025dd70cea0695d3f8372eafb10a4
parentoutput for boot command (diff)
cleanup
git-svn-id: https://svn.spreadspace.org/pic/trunk@74 a09c6847-51d9-44de-8ef2-e725cf50f3c7
-rw-r--r--blink-16F18xx/blink.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/blink-16F18xx/blink.asm b/blink-16F18xx/blink.asm
index 4f1f39b..e64736f 100644
--- a/blink-16F18xx/blink.asm
+++ b/blink-16F18xx/blink.asm
@@ -3,7 +3,7 @@
;;
;;
;; Copyright (C) 2011 Christian Pointner <equinox@spreadspace.org>
- ;;
+ ;;
;; This file is part of spreadspace pic utils.
;;
;; spreadspace pic utils is free software: you can redistribute it and/or modify
@@ -30,13 +30,13 @@
;; -------------------------------------
;; DEFINES
-
+
CNT0 EQU H'0020'
CNT1 EQU H'0021'
;; -------------------------------------
;; OFFSET
- org 0
+ org 0
;; -------------------------------------
;; INIT
@@ -48,14 +48,14 @@ init
;; BANK 1
movlw b'00000001'
- movwf BSR
+ movwf BSR
movlw b'11111110'
- movwf TRISA
+ movwf TRISB
;; BANK 0
clrf BSR
- bcf PORTA,0
+ bcf PORTB,0
;; -------------------------------------
;; MAINLOOP
@@ -75,9 +75,9 @@ inner
goto outer
movlw b'00000001'
- xorwf PORTA,f
-
- goto main
+ xorwf PORTB,f
+
+ goto main
;; -------------------------------------
;; END