Question: Create a new Nios 2 assembly language code to perform the following: Modify the code so that all of the green LEDs are turned off.

Create a new Nios2 assembly language code to perform the following:
Modify the code so that all of the green LEDs are turned off.
Modify the code so that only the first four (4) green LEDs are turned off, the rest are turned on.
Add the following line to your existing code: .equ ADDR_REDLEDS, 0x10000000
Modify the code so that all of the green and red LEDs are turned on. You may use new registers.
Modify the code so that all of the green and red LEDs are turned off.
Modify the code so that only half of the green and red LEDs are turned off, the rest are turned on.
Add the following counter to your code so that ALL green and red LEDs are turned on and off every 1 second continuously.

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!