Since your bit array is a byte long use the byte instead.
G VAR BYTE
H VAR BYTE
G = H
Byte H now is equal to Byte G and you can extract the bits indexing the byte
G bit 0 = G.0
G bit 1 = G.1
.
.
.
.
.
G bit 7 = G.7
Naturally the same apply to byte H.
Cheers
Al.




Bookmarks