I need 2 bits with offset 6 from bit array.
mov eax, [bitarray]; // get address of bit array
shr eax, 6; // clear first 6 bits
shl eax, 30 // clear last 30 bits
shr eax, 30; // move that 2 bits back to start
now in eax is these 2 bits i need, right?
When i have memory started from 0 (one unit is one bit), then bit on position 0 will be after load into register eax in most right place or most left place?