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 popw %bp
ret ret
.L5: .L5:
movb (%bx), %dl movb %cs:(%bx), %dl
movb $8, %cl movb $8, %cl
shlw %cl, %dx shlw %cl, %dx
xorw %dx, %ax xorw %dx, %ax