Patent ID: 7835100

Claim:
A method of performing a logic operation between two binary numbers A and B on a hard disk drive, said hard drive comprising a recording medium and a read/write head configured in its writing mode to apply a high level magnetic field or a low level magnetic field to said recording medium and also being configured in its reading mode to read a magnetic field from said recording medium, and furthermore, said recording medium configured to respond differently to said high level magnetic field applied by said read/write head, and to said low level magnetic field applied by said read/write head, said method comprising: a, encoding said binary numbers A and B into a n-bit binary code where n is equal or greater than 2; b. recording each bit of the n-bit code of said first binary number A on distinct locations on said recording medium by means of said read/write head in its said writing mode operating with said high level magnetic field; c. recording each bit of the n-bit code of said second number B on corresponding said distinct locations on said recording medium by means of said read/write head in its said writing mode operating with said low level magnetic field; d. reading result of said logic operation from said distinct locations on said recording medium by means of said read/write head operating in its said reading mode; e. decoding said result from said n-bit binary code into a binary number.