<Li> OR: the bitwise OR of A and B appears at Y . </Li> <Li> Exclusive - OR: the bitwise XOR of A and B appears at Y . </Li> <Li> Ones' complement: all bits of A (or B) are inverted and appear at Y . </Li> <Table> Bit shift examples for an eight - bit ALU <Tr> <Th> Type </Th> <Th> Left shift </Th> <Th> Right shift </Th> </Tr> <Tr> <Td> Arithmetic </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Td> Logical </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Td> Rotate </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Td> Rotate through carry </Td> <Td> </Td> <Td> </Td> </Tr> </Table>

What is arithmetic logic unit and its functions