You are on page 1of 1

Write a Program that will display FF and 11 repeatedly on the seven segment display.

Write a delay subroutine and Call it as necessary. 8000: LXI SP FFFF 8003: MVI A FF 8005: OUT 00 8007: CALL 14 20 800A: MVI A 11 800C: OUT 00 800E: CALL 14 20 8011: JMP 8003 DELAY: 8014: MVI B FF

8016: MVIC FF 8018: DCR C 8019: JNZ 8018 801C: DCR B 801D: JNZ 8016 8020: RET