I. This is an open book, open notes exam. A calculator is allowed. No network-enabled devices...
I. This is an open book, open notes exam. A calculator is allowed. No network-enabled devices are allowed I Completely show all of your work to insure partial credit for problems Convert the following instructions into their machine language equivalent in Hex: 1. (10 pts) AND WI,#15,W2 CLR.B IW2 2. (8 pts) a) What is the range of ports on the PIC24 for PORTA (RAx) and PORTB (RBx) b) Set PORTB bits 15-13, 9, 7-5, 0 as INPUTS and all other bits as outputs. Answer in Hex c) Drive PORTB bits 15, 13-10, 5, 2 LOW and all other bits HIGH. Answer in Hex 3 (4 pts) Label the following statements as TRUE or FALSE Program memory in the PIC24 microcontroller is volatile The C language bitwise AND operation (&) is used to set groups of bits C variables are stored in data memory in the PIC24 microcontroller The PIC24 has 32768 bytes of data memory
I. This is an open book, open notes exam. A calculator is allowed. No network-enabled devices are allowed I Completely show all of your work to insure partial credit for problems Convert the following instructions into their machine language equivalent in Hex: 1. (10 pts) AND WI,#15,W2 CLR.B IW2 2. (8 pts) a) What is the range of ports on the PIC24 for PORTA (RAx) and PORTB (RBx) b) Set PORTB bits 15-13, 9, 7-5, 0 as INPUTS and all other bits as outputs. Answer in Hex c) Drive PORTB bits 15, 13-10, 5, 2 LOW and all other bits HIGH. Answer in Hex 3 (4 pts) Label the following statements as TRUE or FALSE Program memory in the PIC24 microcontroller is volatile The C language bitwise AND operation (&) is used to set groups of bits C variables are stored in data memory in the PIC24 microcontroller The PIC24 has 32768 bytes of data memory