Expand diagnostic mode field to a full byte's range.

Fixed #10.