1. BIT OPERATION(SHIFT/ROTATE)
Aim: Write an AVR Assembly language program to implement rotating light
1. Develop the program using AVR Studio, and build its hex file.
2. Burn the hex file into ATMega32 chip using eXtreme Burner software.
3. Observe the result
;This program demonstrates rotating light
LDI R20, HIGH(RAMEND)
LDI R20, LOW(RAMEND)
LDI R16,1 #FOR COUNT
LSL R16 # LOGICAL SHIFT LEFT
D3: LDI R19,43
D2: LDI R20,0
The program has been developed and created hex code, the hex code is burned into the
microcontroller, and observed the working the embedded system.