crc16: read data from the right segment

This commit is contained in:
2025-09-24 00:45:56 +02:00
parent e4473e14f6
commit 9bd84390d0

View File

@@ -31,7 +31,7 @@ crc16:
popw %bp
ret
.L5:
movb (%bx), %dl
movb %cs:(%bx), %dl
movb $8, %cl
shlw %cl, %dx
xorw %dx, %ax