c) The 8254 Programmable Interval Timer (PIT) that has been interfaced with the 8085 microprocessor has the following ad
Posted: Sat May 21, 2022 1:07 am
c) The 8254 Programmable Interval Timer (PIT) that has been interfaced with the 8085 microprocessor has the following address. Counter 0 - SAH Counter 1 - 8BH Counter 2 - SCH Control Register - SDH Outline an assembly language program to generate a 5 MHz square wave from the counter 2, by assuming the clock frequency of 8254 is 2 KHz. d) A program developed in assembly language for the 8085-microprocessor is given below: LXIB, B21EH MVID, 11H LOOP1: LDAXB INX B OUT FFH DCRD JNZ LOOP1 HLT By analysing the program, calculate: The total number of T-states required to execute the program. (ii) The time taken by the processor for one T-state, when the crystal oscillator frequency is 4 MHz. (iii) The total time required to execute the program.