gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000000000000000000000000011111011101
a = 0x00000000000007dd
a = x10 + x9 + x8 + x7 + x6 + x4 + x3 + x2 + 1

b = b0000000000000000000000000000000000000000000000000011111101100111
b = 0x0000000000003f67
b = x13 + x12 + x11 + x10 + x9 + x8 + x6 + x5 + x2 + x + 1

  11111011101 | 11111101100111

cquotient = b0000000000000000000000000000000000000000000000000000000000000000
cquotient = 0x0000000000000000
cquotient = 0

cremainder = b0000000000000000000000000000000000000000000000000000011111011101
cremainder = 0x00000000000007dd
cremainder = x10 + x9 + x8 + x7 + x6 + x4 + x3 + x2 + 1