mirror of
https://github.com/hsoft/collapseos.git
synced 2025-04-11 03:38:15 +10:00
Fixed comment
Same as before, I agree it explains the change and not the code. I think it's clear enough that we're trying to calculate (-a)-1 here, so I don't think the comment is necessary.
This commit is contained in:
parent
e2c1b4c8f4
commit
7735892a3d
@ -31,7 +31,7 @@ strlen:
|
||||
; decreased at each CPI call. In this routine, we stay in the 8-bit
|
||||
; realm, so C only.
|
||||
ld a, c
|
||||
cpl ; -a = (~a)+1, so (-a)-1 = ~a
|
||||
cpl
|
||||
pop hl
|
||||
pop bc
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user