---
title: "Timing diagram of LDA 2080H"
subject: "Microprocessor"
chapter: 2
key: "semester_4/microprocessor:timing-lda-2080h"
source: https://www.bctengineer.com/q/semester_4/microprocessor/timing-lda-2080h
site: BCT Engineering
---

# Timing diagram of LDA 2080H

Microprocessor · Chapter 2: Programming with 8085 Microprocessor

- Asked in: 2071 Magh, 6+2 marks
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_4/microprocessor/timing-lda-2080h
- Whole chapter: https://www.bctengineer.com/md/semester_4/microprocessor/chapter-2

## Question

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

## 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.

## Answer

`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-cycle | T | A15-A8 | AD7-AD0 | ALE | Control | IO/M S1 S0 |
|---|---|---|---|---|---|---|
| **M1 (opcode fetch, 4T)** | T1 | 20H | 00H (PCL) | 1 | - | 0 1 1 |
|  | T2 | 20H | Hi-Z (bus floats) | 0 | RD low | 0 1 1 |
|  | T3 | 20H | 3AH (opcode in) | 0 | RD low, rises at end | 0 1 1 |
|  | T4 | - | - | 0 | none (decode) | 0 1 1 |
| **M2 (memory read, 3T)** | T1 | 20H | 01H | 1 | - | 0 1 0 |
|  | T2 | 20H | Hi-Z (bus floats) | 0 | RD low | 0 1 0 |
|  | T3 | 20H | 80H (data in) | 0 | RD low, rises at end | 0 1 0 |
| **M3 (memory read, 3T)** | T1 | 20H | 02H | 1 | - | 0 1 0 |
|  | T2 | 20H | Hi-Z (bus floats) | 0 | RD low | 0 1 0 |
|  | T3 | 20H | 20H (data in) | 0 | RD low, rises at end | 0 1 0 |
| **M4 (memory read, 3T)** | T1 | 20H | 80H | 1 | - | 0 1 0 |
|  | T2 | 20H | Hi-Z (bus floats) | 0 | RD low | 0 1 0 |
|  | T3 | 20H | data (data in) | 0 | RD low, rises at end | 0 1 0 |

```text
      |  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**.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. What are the machine cycles of LDA 2080H and the total T-states?
   A. Opcode fetch, memory read, memory write: 10 T-states
   B. Opcode fetch, memory read, memory read: 10 T-states
   C. Opcode fetch, memory read, memory read, memory read: 13 T-states
   D. Opcode fetch, memory read, memory read, memory read: 16 T-states
   Answer: C. LDA needs one opcode fetch (4T), two memory reads for the address bytes (3T each), and one memory read for the data (3T): 4 + 3 + 3 + 3 = 13T. (Key point: LDA has 4 machine cycles: OF(4T) + MR + MR + MR = 13T)

2. With a 6 MHz crystal, what is the time to execute LDA 2080H?
   A. 13 x 0.167 microsecond = 2.17 microseconds
   B. 13 x 0.333 microsecond = 4.33 microseconds
   C. 10 x 0.333 microsecond = 3.33 microseconds
   D. 13 x 0.5 microsecond = 6.5 microseconds
   Answer: B. The 8085 divides the crystal by 2, so the clock is 3 MHz and T = 0.333 microsecond; 13 T-states take 4.33 microseconds. (Key point: Operating clock = crystal / 2, so 6 MHz crystal gives 3 MHz)

3. During M4 of LDA 2080H, which address is placed on the bus?
   A. 2080H, formed from W (20H) and Z (80H) read in M3 and M2
   B. 2003H, the next value of the program counter
   C. 2002H, the location of the high address byte
   D. 8020H, because the low byte is read first
   Answer: A. M2 reads 80H into Z and M3 reads 20H into W; in M4 the address WZ = 2080H is output and the data there is read into A. (Key point: M2 reads low address byte into Z, M3 reads high byte into W, M4 uses WZ)

4. Why is ALE high in T1 of every machine cycle in the timing diagram?
   A. To tell memory that a write operation will follow
   B. To decode the opcode in the instruction register
   C. To put the AD0-AD7 bus into high impedance
   D. To mark that AD0-AD7 carries the low byte of the address, so it can be latched
   Answer: D. In T1 the low address byte is on the multiplexed AD0-AD7 lines and ALE is high so it can be latched before the bus is used for data in T2-T3. (Key point: ALE is high in T1 to latch the low address byte on AD0-AD7)

## Close variants set in other exams

- [Timing diagram of LXI D, 2465H](https://www.bctengineer.com/question.md?key=semester_4%2Fmicroprocessor%3Atiming-lxi-d-2465h) — Microprocessor, chapter 2, asked 2×

## Related in Microprocessor

- [Timing diagram of STA, program time](https://www.bctengineer.com/question.md?key=semester_4%2Fmicroprocessor%3Atiming-sta-program-time) — Microprocessor, chapter 2
- [Execution of LDA 8B7FH with timing](https://www.bctengineer.com/question.md?key=semester_4%2Fmicroprocessor%3Atiming-lda-8b7fh) — Microprocessor, chapter 2
- [Machine cycle, T-states, ANI 55H timing](https://www.bctengineer.com/question.md?key=semester_4%2Fmicroprocessor%3Amachine-cycle-tstate-ani-55h) — Microprocessor, chapter 2
- [Timing diagram of STA 8050H](https://www.bctengineer.com/question.md?key=semester_4%2Fmicroprocessor%3Atiming-sta-8050h) — Microprocessor, chapter 2
- [Machine cycles involved in LDA](https://www.bctengineer.com/question.md?key=semester_4%2Fmicroprocessor%3Amachine-cycles-lda) — Microprocessor, chapter 2, asked 2×
- [Execution of ANI 4BH with timing](https://www.bctengineer.com/question.md?key=semester_4%2Fmicroprocessor%3Atiming-ani-4bh) — Microprocessor, chapter 2

## Related in other subjects

- [Four-segment instruction pipeline and space-time diagram](https://www.bctengineer.com/question.md?key=semester_5%2Fcomputer_organization_and_architecture%3Afour-segment-pipeline) — Computer Organization and Architecture, chapter 4, asked 5×
- [Required SNR for 40 Mbps over 6 MHz](https://www.bctengineer.com/question.md?key=semester_5%2Fdata_communication%3Acapacity-40mbps-6mhz) — Data Communication, chapter 1
- [Instruction cycle state diagram with interrupt](https://www.bctengineer.com/question.md?key=semester_5%2Fcomputer_organization_and_architecture%3Ainstr-cycle) — Computer Organization and Architecture, chapter 1, asked 6×
- [SISO shift register with timing diagram](https://www.bctengineer.com/question.md?key=semester_3%2Fdigital_logic%3Asiso-generic-timing) — Digital Logic, chapter 7, asked 9×
