Professional Documents
Culture Documents
Expt. No. - 6m
Expt. No. - 6m
Write and execute program to display count value 0 to 9 on the seven segment display using
standard subroutine for display output
APPARATUS REQUIRED: 8085 Microprocessor Kit
ALGORITHM:
1. Use standard subroutine OUTPUT to display count value on data field
2. Clear register B for no data to be displayed
3. Load initial count value in memory
4. Display count value
5. Move 01h to accumulator to display count value in data field
6. Call output subroutine
7. Call delay subroutine
8. Clear display using clear display subroutine
9. Increment count value
10. Compare count value with 9. If it is less than or equal to 9, repeat
steps 4 to 9 else repeat steps 3 to 9.
PROGRAM
PROCEDURE :
Press RESET
Press GO
Enter the address location in which line program was executed
Press Execute key.
OBSERVATION:
RESULT :