1. To achieve uniform vertical edges to pages or columns of material printed or displayed on a screen. Information can be aligned along the left or right margin or centred between the margins. In the latter case, the space between words and/or letters is increased until the line fills the distance between the margins.
2. To move the bit pattern stored in a register so that either the least or most significant bit is at the appropriate end of the register.