[b]1. What is the default I/O configuration of all PIC ports at program computer system start-up? Why are microcontrollers designed with this standard default configuration?
[b]3. I think all the ports are set to input to start with and then changed accordingly.
I'm not sure if "BSRbits.3 = 1" is a valid C statement, but that is exactly what the question says. I think the "INTCONbitsTMR0IE = 1" statement means that the timer0 interrupt is enabled. From what i understand from "TRISB = 0x00" it should mean Port B is configured as outputs.
[b]1. Explain what the CPU will do in terms of functuality and configuration when executing the C source code below:
unsigned char value = 0x91
1) BSR = 5;
2) BSRbits.3 = 1;
3) INTCONbitsTMR0IE = 1;
4) INTCON2bitsTMR0IP = 1;
5) TRISB = 0x00;
6) PORTB = 0x00;
Please can...