1
0
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:
Clanmaster21 2020-01-07 15:43:36 +00:00 committed by GitHub
parent e2c1b4c8f4
commit 7735892a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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