FROM C IN ASSEMBLY Given a sequence of bits, knowing that every n bit (of data) there is a parity bit, check if there are errors
I am trying to resolve this exercise: Given a sequence of bits, knowing that every n bit (of data) there is a parity bit (1 if the number of bits at 1 among the previous n is odd), check if there are errors. I have done it in C.