fix do all 8 bits
This commit is contained in:
parent
e7bd5096cd
commit
108e5af0b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user