summaryrefslogtreecommitdiff
path: root/test/popcnt2.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/popcnt2.s')
-rw-r--r--test/popcnt2.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/popcnt2.s b/test/popcnt2.s
index aaa4743..503b074 100644
--- a/test/popcnt2.s
+++ b/test/popcnt2.s
@@ -10,7 +10,7 @@ popcnt:
tab ; Place the value in the B register.
deb ; Decrement the temp value by one.
iny ; Increment the bit count.
- aba ; AND value with value-1.
+ and b ; AND value with value-1.
bra @loop ; Keep looping.
@end:
tya ; Return the bit count.