Skip to main content

Timing diagram of LDA 2080H

Short answer

LDA 2080H takes 13 T-states (opcode fetch, two reads for address, data read). Crystal 6 MHz gives internal clock 3 MHz, T=0.333 µs. Execution time = 13×0.333 = 4.33 µs.

Draw timing diagram of instruction LDA 2080H. Calculate the time required to execute this instruction if the crystal frequency is 6 MHZ.

LDA 2080H (opcode 3AH) loads A from memory location 2080H. It is a 3-byte instruction with 4 machine cycles: opcode fetch (4T), memory read (3T), memory read (3T), memory read (3T) = 13 T-states. Assume it is stored at 2000H, 2001H, 2002H as 3AH, 80H, 20H.

M-cycleTA15-A8AD7-AD0ALEControlIO/M S1 S0
M1 (opcode fetch, 4T)T120H00H (PCL)1-0 1 1
T220HHi-Z (bus floats)0RD low0 1 1
T320H3AH (opcode in)0RD low, rises at end0 1 1
T4--0none (decode)0 1 1
M2 (memory read, 3T)T120H01H1-0 1 0
T220HHi-Z (bus floats)0RD low0 1 0
T320H80H (data in)0RD low, rises at end0 1 0
M3 (memory read, 3T)T120H02H1-0 1 0
T220HHi-Z (bus floats)0RD low0 1 0
T320H20H (data in)0RD low, rises at end0 1 0
M4 (memory read, 3T)T120H80H1-0 1 0
T220HHi-Z (bus floats)0RD low0 1 0
T320Hdata (data in)0RD low, rises at end0 1 0
      |  M1 (OF)  | M2 (MR) | M3 (MR) | M4 (MR) |
      |T1 T2 T3 T4|T1 T2 T3 |T1 T2 T3 |T1 T2 T3 |
 ALE  |HI lo lo lo|HI lo lo |HI lo lo |HI lo lo |
 RD   |hi LO LO hi|hi LO LO |hi LO LO |hi LO LO |
 WR   |hi hi hi hi|hi hi hi |hi hi hi |hi hi hi |

Explanation

  1. M1: address 2000H (PC) is output, ALE high in T1; RD low in T2-T3; opcode 3AH enters IR, decoded in T4.
  2. M2: address 2001H; the byte 80H (low address) is read into Z.
  3. M3: address 2002H; the byte 20H (high address) is read into W.
  4. M4: address WZ = 2080H is output; RD low; the data byte at 2080H is read into the accumulator.

Time

Crystal frequency = 6 MHz. The 8085 divides the crystal frequency by 2 internally, so the operating clock = 3 MHz.

T = 1 / 3 MHz = 0.333 microsecond

Time = 13 x 0.333 = 4.33 microseconds.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Microprocessor chapter 2 questions →