In reply to szy0014:
Another thing that does not make sense is that data and hold_data are both 32-bit (WORD_SIZE) dynamic arrays, yet you appear to be trying to index a single WORD of the array by bit position.
In reply to szy0014:
Another thing that does not make sense is that data and hold_data are both 32-bit (WORD_SIZE) dynamic arrays, yet you appear to be trying to index a single WORD of the array by bit position.