fix do all 8 bits

This commit is contained in:
matthias@arch 2024-01-03 13:08:04 +01:00
parent e7bd5096cd
commit 108e5af0b9

View File

@ -8,7 +8,7 @@
;; @returns Y: The number of set bits in the byte ;; @returns Y: The number of set bits in the byte
;;******************************************************************************** ;;********************************************************************************
.proc count_set_bits .proc count_set_bits
ldx #8 ldx #9
ldy #0 ; number of set bits ldy #0 ; number of set bits
@loop: @loop:
dex dex