AVR Microcontroller mcq
AVR Microcontroller Architecture 1. Is the following instruction correct LDI R3,50? a) Yes b) No c) Cant be said d) None of the mentioned Answer: No 2. Registers R0-R31 are used for what type of works? a) they are used for arithmetic and logic instructions b) they are used for data copy c) they are used for calculations d) none of the mentioned Answer: they are used for arithmetic and logic instructions 3. The largest value that can be loaded in an 8 bit register is? a) 11111111H b) FH c) FFH d) 00H Answer: FFH 4. The total space for the data memory available in the AVR based microcontroller is? a) FFH b) FFFH c) FFFFH d) FFFFFH Answer: FFFFH 5. Which of the following instructions affect the flags of the status register? a) AND b) INC c) OR d) All of the mentioned Answer: All of the mentioned 6. What is the difference between the two given instructions? LDI R16,0x34 and LDI R16,$34 a) One copies the hexadecimal value to R16 and the other copies the decimal value to the R16 register b