I wonder if you could've tried "Fil-C" compiler to catch the bug

one of those things that "I heard about recently, would love a practical test, but have no current need to try on"

Besides the sibling answer, it probably wouldn't fit into MS-DOS execution model.

The wrong "pointer" for `rep movsb` is in the assembly code (of the packet driver).