Write an assembly program to do the following. | EET430L | ECPI University

 

Your program should define three arrays such that Array1 has eight values: $01, $02, $03, $04, $05, $06, $07, $08 and Array2 has eight values: $11, $12, $13, $14, $15, $16, $17, $18, and Array3 has eight bytes reserved. The program reads DIP switches, then, does the followings:

Don't use plagiarized sources. Get Your Custom Essay on
Write an assembly program to do the following. | EET430L | ECPI University
Just from $13/Page
Order Essay

1. If the readings are %00001001 = $09, then, copy the data from Array1 to Array3 and display ‘1to3’ on 7segment units sequentially (a letter at a time)  3 times.
The interval between the letters is 0.6sec. You should use TIMER to time exactly 0.6sec. After displaying the letters, your program is done. Note: CPU speed is 24MHz

2. If the readings are %10010000 = $90, then, copy the data from Array2 to Array3 and display ‘2to3’ on 7segment units all at once 3 times.
The interval between the letters is 1msec. You should use TIMER to time exactly 1msec. After displaying the letters, your program is done.

3. If the readings are neither$09 nor $90, then, turn on all LEDs, and go back to the beginning of the program to read DIP switches repeatedly.

Calculator

Calculate the price of your paper

Total price:$26
Our features

We've got everything to become your favourite writing service

Need a better grade?
We've got you covered.

Order your paper