Just tried Henrik's code, it gives error on:

LSB VAR BitArray.LowWord

"bad variable size modifier .lowword"