Gujarat Technological University
Gujarat Technological University
___________
Q.3 (a) Explain Bitwise AND and Bitwise OR operators with example. 03
(b) Explain the functions of following pins: 1. INT2 2. TXD 3. AVCC 4. ICP. 04
(c) Explain following instructions for ATmega32. 07
1. SUB 2. EOR 3.FMULL 4.CLR 5.DES 6.INC 7. CLN
OR
Q.3 (a) Explain the function of any three flags of status register. 03
(b) Write a program to find number of 1s in 0xFE. 04
(c) Explain conditional branch instructions BREQ and BRNE with examples. Write 07
an AVR ALP to toggle PA0 pin 100 times using conditional branch instruction.