Don't use the sector count register when writing a pattern to detect