summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2012-06-22 00:59:48 +0000
committerChristian Pointner <equinox@mur.at>2012-06-22 00:59:48 +0000
commitbe2e83d19e44f787cee1f7ed93a21d7c9a68384d (patch)
tree6e283ebff739db4a4b08abe27fb99d9f8b734a4b
parentreset targets (diff)
decimal is better than binary for page numbers
git-svn-id: https://svn.spreadspace.org/mur.sat@548 7de4ea59-55d0-425e-a1af-a3118ea81d4c
-rw-r--r--software/idm/idm.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/software/idm/idm.asm b/software/idm/idm.asm
index 50a4fab..0bd6007 100644
--- a/software/idm/idm.asm
+++ b/software/idm/idm.asm
@@ -115,7 +115,7 @@ inc_fsr_end
;; -------------------------------------
;; Interrupts
org .4
- movlb b'00000000'
+ movlb .0
if DEBUG == 1
bsf SPEAKER
endif
@@ -137,7 +137,7 @@ int_adc
bcf PIR1,ADIF
btfsc OVERRUN
retfie
- ;; movlb b'00000001'
+ ;; movlb .1
;; movf ADRESH,w
movf TMP,w
movwf INDFW
@@ -161,7 +161,7 @@ int_adc
;; }
int_spi
bcf PIR1,SSP1IF
- movlb b'00000100'
+ movlb .4
movf SSP1BUF,w
movwf CMD
btfsc STATUS,Z
@@ -323,7 +323,7 @@ endif
;; INIT
init
;; BANK 6
- movlb b'00000110'
+ movlb .6
clrf CCPR4H
movlw .124
movwf CCPR4L
@@ -331,7 +331,7 @@ init
movwf CCP4CON
;; BANK 4
- movlb b'00000100'
+ movlb .4
movlw b'01000000'
movwf SSP1STAT
movlw b'00010000'
@@ -343,13 +343,13 @@ if DEBUG == 1
endif
;; BANK 3
- movlb b'00000011'
+ movlb .3
movlw b'00001111' ; PORTA0:3 analog, PORTA4:7, digital
movwf ANSELA
clrf ANSELB ; PORTB0:7 digital
;; BANK 1
- movlb b'00000001'
+ movlb .1
movlw b'00101111'
movwf TRISA
movlw b'01110011'
@@ -364,7 +364,7 @@ endif
movwf OPTION_REG
;; BANK 0
- movlb b'00000000'
+ movlb .0
movlw .124 ; 8 kHz @ 16MHz
movwf PR2
clrf TMR1H ; reset TMR1