summaryrefslogtreecommitdiff
path: root/software/idm/idm.asm
diff options
context:
space:
mode:
Diffstat (limited to 'software/idm/idm.asm')
-rw-r--r--software/idm/idm.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/software/idm/idm.asm b/software/idm/idm.asm
index 48c8351..cceaa0e 100644
--- a/software/idm/idm.asm
+++ b/software/idm/idm.asm
@@ -143,11 +143,11 @@ wbuf_next
movf FSRRH,w
xorwf FSRWH,w
- btfsc STATUS,Z
+ btfss STATUS,Z
goto wbuf_move_ptr
movf FSRRL,w
xorwf FSRWL,w
- btfsc STATUS,Z
+ btfss STATUS,Z
goto wbuf_move_ptr
bsf OVERRUN
@@ -166,7 +166,7 @@ wbuf_move_ptr
bcf UNDERRUN
addfsr FSRW,1
-
+
movf FSRWH,w
sublw BUF_ENDH
btfss STATUS,C
@@ -198,7 +198,7 @@ rbuf_reset
clrf BSR
bsf DBG1
movwf BSR
-
+
;; -------------------
rbuf_next
btfsc OVERRUN
@@ -206,11 +206,11 @@ rbuf_next
movf FSRWH,w
xorwf FSRRH,w
- btfsc STATUS,Z
+ btfss STATUS,Z
goto rbuf_move_ptr
movf FSRWL,w
xorwf FSRRL,w
- btfsc STATUS,Z
+ btfss STATUS,Z
goto rbuf_move_ptr
bsf UNDERRUN