I'm trying to write an ASM code that receives eight-bit binary numbers from a dip-switch and displays the data on 3 seven segment LEDs. If the input is 2 zero numbers meaning all dip-switches are off the output should increment through 10-bytes of data starting at A0000H in three digit decimal format. I also need a time delay of 5 seconds between each address in this case. If the dip-switch is not zero, simply the input should be displayed.
So far, I know how to convert hex to decimal and have a lookup table for the seven-segment display. Could anyone point me towards the solution?
0 · ·