question archive Write a program to read two bits PAO and PA1 of PORTA and perform the following operations
Subject:Computer SciencePrice: Bought3
Write a program to read two bits PAO and PA1 of PORTA and perform the following operations. PA1 PAO Operation 0 Read the Sbits of PORTC and PORTD and Add them. Read the Sbits of PORTC and PORTD and Subtract them. 1 Read the 8bits of PORTC and PORTD and Multiply them. 1 1 Read the Sbits of PORTC and PORTD and divide (PORTC:PORTD) them. Display the result on PORTB.