Full step mode.
The arrow shows the direction of the magnetic field in the motor stator.
The outputs of the two top AND gates should be connected through the H-driver to the first motor winding, the outputs of the two lower AND gates to be connected through the H-driver to the other winding of the motor.