question#1: Write instructions to toggle bitsBit0 of PORTB assuming the PORTB is already initialized as anoutput port.
question#2: The following unsigned integerreadings are stored in data register starting from REG10 (address10H). Data (H): 40, 45, 4A, 32, 52, 38, 3A, 44 Write a program thatfinds the average temperature. Simulate your program in PIC18 IDESimulator and attach a screenshot of your simulation while theprogram is running.