From 48a51c3193ada65d949179978b9a39c698bb6a5e Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 17 Dec 2005 14:58:31 +0000 Subject: [PATCH] actually compute correct bit value address --- detpic/points.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/detpic/points.asm b/detpic/points.asm index 7dfcd50..3632255 100644 --- 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 -- 2.30.2