large binary number division

Hello,
I am trying to divide a large binary number (54 bits) with another binary number (10 bits). Can some one please suggest what would be the fastest (in terms of execution speed) way to accomplish this?
I plan to store my numbers in arrays of integers/strings:
A=[1,0,1,1,0,.....0,1,0] - 54 bits
B=[1,1,1,0...0,1,0] - 10 bits