From 108e5af0b909733ce609031cdab557ba7647f30a Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Wed, 3 Jan 2024 13:08:04 +0100 Subject: [PATCH] fix do all 8 bits --- util/parity.s65 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/parity.s65 b/util/parity.s65 index 3ef087c..a340bbb 100644 --- a/util/parity.s65 +++ b/util/parity.s65 @@ -8,7 +8,7 @@ ;; @returns Y: The number of set bits in the byte ;;******************************************************************************** .proc count_set_bits - ldx #8 + ldx #9 ldy #0 ; number of set bits @loop: dex