summaryrefslogtreecommitdiff
path: root/software/ihu/tables.inc
diff options
context:
space:
mode:
Diffstat (limited to 'software/ihu/tables.inc')
-rw-r--r--software/ihu/tables.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/software/ihu/tables.inc b/software/ihu/tables.inc
index 3e42a41..99d104f 100644
--- a/software/ihu/tables.inc
+++ b/software/ihu/tables.inc
@@ -31,6 +31,8 @@
;; -------------------------------------
;; digit
digit
+ clrf PCLATH ; this table is betwenn 0x100 and 0x200
+ incf PCLATH,f ; load PCLATH without changing W
andlw b'00001111'
addwf PCL,f
retlw '0'
@@ -51,6 +53,8 @@ digit
retlw 'F'
mul10
+ clrf PCLATH ; this table is betwenn 0x100 and 0x200
+ incf PCLATH,f ; load PCLATH without changing W
addwf PCL,f
retlw .0
retlw .10
@@ -71,6 +75,8 @@ mul10
retlw .160
daysL
+ clrf PCLATH ; this table is betwenn 0x100 and 0x200
+ incf PCLATH,f ; load PCLATH without changing W
addwf PCL,f
retlw .0
retlw .0
@@ -87,6 +93,8 @@ daysL
retlw .79
daysH
+ clrf PCLATH ; this table is betwenn 0x100 and 0x200
+ incf PCLATH,f ; load PCLATH without changing W
addwf PCL,f
retlw .0
retlw .0