chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03daa7a
)
actually compute correct bit value address
author
ian
<ian>
Sat, 17 Dec 2005 14:58:31 +0000
(14:58 +0000)
committer
ian
<ian>
Sat, 17 Dec 2005 14:58:31 +0000
(14:58 +0000)
detpic/points.asm
patch
|
blob
|
history
diff --git
a/detpic/points.asm
b/detpic/points.asm
index 7dfcd50da7dbddc63c254322ae7c8a64cecc9612..3632255353dc0191d3cbfd77c9ccebeff8363656 100644
(file)
--- a/
detpic/points.asm
+++ b/
detpic/points.asm
@@
-193,7
+193,8
@@
points_init_portbit_if_used
mov_fw TABLAT
bra_n point_initing_bad_point
- and_wff FSR1L ; FSR1 -> bit value for bit
+ ior_wff 0xf0 ; W -> bit value for bit
+ mov_wf FSR1L ; FSR1 -> bit value for bit
swap_fw TABLAT ; W = bitnum4 || portnum4
and_lw 0x0f ; W = portnum4