Question: Write an assembly code to light up alternate LEDs continuously starting with LED1. Use the given Delay routine LED1 LED2 LED3 ON OFF OFF Delay

 Write an assembly code to light up alternate LEDs continuously starting

Write an assembly code to light up alternate LEDs continuously starting with LED1. Use the given Delay routine LED1 LED2 LED3 ON OFF OFF Delay OFF ON OFF Delay OFF OFF ON Delay ON OFF OFF PC1 AREF LED 2 LED 3 Delay: LDI LDI R18, 21 R19, 99 1 Here: DEC R19 BRNE Here DEC R18 BRNE Here Write an assembly code to light up alternate LEDs continuously starting with LED1. Use the given Delay routine LED1 LED2 LED3 ON OFF OFF Delay OFF ON OFF Delay OFF OFF ON Delay ON OFF OFF PC1 AREF LED 2 LED 3 Delay: LDI LDI R18, 21 R19, 99 1 Here: DEC R19 BRNE Here DEC R18 BRNE Here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!