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:

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.

Testimonials

Write an Assembly program to do the following.
We have updated our contact contact information. Text Us Or WhatsApp Us+1-(309) 295-6991