Patent ID: 7107510

Claim:
A data storage device comprising: a disk storage medium having a plurality of sectors containing data; a head for performing a writing process or a reading process into or from said disk storage medium upon a write command or a read command transferred from a host; and error correcting means for correcting an error that occurs in said data during said reading process; wherein said error correcting means comprises: a syndrome generator for generating a syndrome on the basis of said data contained in a predetermined sector; a first register for storing said syndrome generated by said syndrome generator; a second register for storing said syndrome generated by said syndrome generator at the time of generating the syndrome for a succeeding sector; and exclusive OR circuit for exclusive ORing a value stored in said first register and a value stored in said second register after the end of generating the syndrome for all the data contained in said predetermined sector and storing an output of said exclusive OR circuit in said second register.