Coursify

Microprocessor

Timing Diagrams and Execution Cycles

1.5 hours

Learning Goals

  • Understand the definition of a timing diagram: graphical representation of voltage transitions with respect to time across multiple signals
  • Explain the machine cycle concept: 12 oscillator periods form one complete machine cycle in the 8051
  • Analyze the typical 1-cycle, 2-cycle, and multi-cycle instruction execution patterns in 8051
  • Trace the fetch-decode-execute cycle using timing diagrams with all relevant signals
  • Understand the timing relationships between ALE, PSEN, and data/address signals during external program memory fetch
  • Describe how PSEN becomes active after every six oscillator periods and remains high during internal program execution
  • Analyze timing diagrams for external data memory access including RD and WR control signals
  • Apply timing analysis to determine instruction cycle counts and system performance characteristics

Timing diagrams are graphical representations of how digital signals change with time; in the 8051 context, they show the relative transitions of clock-derived control lines such as ALE, PSEN, RD, WR, and the multiplexed address/data buses during instruction fetch and data access 2. Understanding these diagrams is essential because the classic 8051 is a 12-clock architecture: one machine cycle consists of 12 oscillator periods, organized as 6 states, with each state spanning 2 oscillator periods 2. Instruction execution is then measured in machine cycles, so performance analysis reduces to counting cycles and converting them into time using

Tinst=12×CfoscT_{\text{inst}} = \frac{12 \times C}{f_{\text{osc}}}

for an instruction requiring CC machine cycles on a standard 12-clock 8051 2.

A key practical consequence is that many ordinary instructions complete in 1 machine cycle, some branch and loop-related instructions require 2 machine cycles, and operations such as MUL AB and DIV AB take 4 machine cycles on the classic core 2. During external program memory fetches, Port 0 carries the low-order address first and later the code byte, Port 2 carries the high-order address, ALE latches the low address externally, and PSEN provides the active-low read strobe to program memory 2. During internal program execution, PSEN is not used for internal code fetches and remains inactive/high, while ALE still continues at its clock-derived rate except in cases such as certain external data accesses where pulses may be skipped 2.

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4 5

  2. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing. 2

  3. Embedded Systems/8051 Microcontroller - Wikibooks - Overview of oscillator, states, and the 12-clock machine-cycle model.

  4. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions. 2

  5. Overview of the 8051 Microcontroller - Educational summary listing examples of 1-cycle, 2-cycle, and 4-cycle instructions.

  6. P87C554 - 80C51 8-bit microcontroller – 12 clock operation - Vendor datasheet noting ALE activation every six oscillator periods and skipped ALE pulses during external data memory access.

8051 Read & Write Timing Diagram

Core Timing Identity

For the original 8051 family, 1 machine cycle = 12 oscillator periods = 6 states, and timing diagrams are interpreted against this structure 2.

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

  2. Embedded Systems/8051 Microcontroller - Wikibooks - Overview of oscillator, states, and the 12-clock machine-cycle model.

1. What a timing diagram represents

A timing diagram places multiple digital signals on aligned horizontal tracks, with time increasing from left to right, so that the designer can see when a signal becomes valid, how long it remains active, and which signal transitions trigger another event 2. In the 8051, these diagrams are especially important because external memory operations use time-multiplexed buses: the same physical Port 0 pins carry address information during one portion of the cycle and data during another 2.

For 8051 analysis, the most common signals are:

SignalRoleActive LevelTypical Use
ALEAddress Latch EnableHigh pulseLatches low address byte from Port 0 during external memory access 2
PSENProgram Store EnableLowReads external program memory 2
RDReadLowReads external data memory during MOVX
WRWriteLowWrites external data memory during MOVX
P0 / AD0–AD7Multiplexed low address/data busLow address first, then data 2
P2 / A8–A15High address busUpper address byte for external memory 2

The distinction between program memory timing and external data memory timing is fundamental. PSEN belongs to code fetches, whereas RD and WR belong to external data accesses, and the CPU schedules them differently because a data memory bus cycle occupies more bus time than a normal program fetch .

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4 5 6 7 8 9

  2. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing. 2 3 4 5

  3. P87C554 - 80C51 8-bit microcontroller – 12 clock operation - Vendor datasheet noting ALE activation every six oscillator periods and skipped ALE pulses during external data memory access.

How to read an 8051 timing diagram

  1. 1
    Step 1

    Start by dividing the diagram into machine cycles. For a classic 8051, each machine cycle contains 6 states and 12 oscillator periods 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. Embedded Systems/8051 Microcontroller - Wikibooks - Overview of oscillator, states, and the 12-clock machine-cycle model.

  2. 2
    Step 2

    Observe when Port 0 outputs the low-order address byte and Port 2 outputs the high-order address byte. These intervals indicate the beginning of an external bus operation 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing.

  3. 3
    Step 3

    Use the ALE rising pulse to determine when the low-order address on Port 0 must be captured by the external latch, because Port 0 will later be reused for data 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. P87C554 - 80C51 8-bit microcontroller – 12 clock operation - Vendor datasheet noting ALE activation every six oscillator periods and skipped ALE pulses during external data memory access.

  4. 4
    Step 4

    If the access is to external program memory, look for PSEN going low; if the access is to external data memory, look for RD or WR going low during a MOVX cycle .

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

  5. 5
    Step 5

    After the address is latched and the memory device is enabled, identify the interval during which the code byte or data byte is valid on the bus and sampled by the CPU 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing.

  6. 6
    Step 6

    Map the number of machine cycles consumed by the instruction to the fetch-decode-execute sequence. One-cycle instructions overlap fetch and execution differently from two-cycle or MOVX operations 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions.

2. Machine cycle concept in the 8051

The classic Intel MCS-51 timing model defines a machine cycle as the basic internal execution interval of the CPU . It consists of:

  • 6 states: S1S1 through S6S6 2
  • 2 oscillator periods per state 2
  • therefore 12 oscillator periods per machine cycle 2

If the oscillator frequency is foscf_{\text{osc}}, then machine-cycle duration is

TMC=12foscT_{\text{MC}} = \frac{12}{f_{\text{osc}}}

For the common crystal frequency of 11.0592 MHz, this becomes approximately

TMC1211.0592×1061.085 μsT_{\text{MC}} \approx \frac{12}{11.0592 \times 10^6} \approx 1.085 \ \mu s

on a standard 12-clock 8051 2.

This timing base also drives peripheral behavior. Timers on the original 8051 increment at the machine-cycle rate in timer mode, which is why instruction timing, peripheral timing, and waveform generation are tightly linked in system analysis 2.

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4 5

  2. Embedded Systems/8051 Microcontroller - Wikibooks - Overview of oscillator, states, and the 12-clock machine-cycle model. 2 3 4 5

  3. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions.

Execution Time vs. Machine Cycles on a 12 MHz 8051

Approximate instruction execution times using 1 µs per machine cycle at 12 MHz on the classic 12-clock core [^3][^5].

Fast mental conversion

On a classic 8051 running at 12 MHz, one machine cycle is approximately 1 µs, so a 2-cycle instruction is about 2 µs and a 4-cycle instruction is about 4 µs 2.

Footnotes

  1. Embedded Systems/8051 Microcontroller - Wikibooks - Overview of oscillator, states, and the 12-clock machine-cycle model.

  2. Overview of the 8051 Microcontroller - Educational summary listing examples of 1-cycle, 2-cycle, and 4-cycle instructions.

3. Instruction execution patterns: 1-cycle, 2-cycle, and multi-cycle

The 8051 instruction set is documented in terms of bytes and machine cycles, and cycle count is independent of whether program memory is internal or external 2. Typical categories are:

  • 1-cycle instructions: many arithmetic, data transfer, and bit operations such as ADD, MOV, SETB, NOP, DEC, INC 2
  • 2-cycle instructions: common conditional jumps, decrement-and-jump patterns, and MOVX external data memory operations 3
  • 4-cycle instructions: MUL AB and DIV AB 2

A subtle but important point is that the 8051 overlaps instruction fetching with current instruction execution. According to the Intel user manual, execution of a one-cycle instruction begins when the opcode is latched into the instruction register in State 1, and another fetch occurs later in the same machine cycle . That overlapping fetch behavior is why timing diagrams often show more bus activity than a simplistic “fetch, then execute, then fetch again” picture would suggest.

A representative classification is shown below.

CategoryTypical InstructionsMachine CyclesNotes
Simple ALU / register / bit operationsADD, MOV, INC, DEC, SETB, NOP1Most common fast operations 2
Conditional branches / loop controlJZ, JMP, DJNZ2Control flow often costs an extra cycle 2
External data memoryMOVX A,@DPTR, MOVX @DPTR,A2Uses RD/WR and occupies bus longer 2
Multiply / divideMUL AB, DIV AB4Longest common classic-core operations 2

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4

  2. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions. 2 3 4 5 6 7 8

  3. Overview of the 8051 Microcontroller - Educational summary listing examples of 1-cycle, 2-cycle, and 4-cycle instructions. 2 3 4 5 6

1MOV A, R1 ; 1 machine cycle on classic 8051 [^4] 2ADD A, #05H ; 1 machine cycle [^4] 3NOP ; 1 machine cycle [^5]

4. Fetch-decode-execute cycle in timing terms

Conceptually, instruction execution follows a fetch-decode-execute pattern, but on the 8051 this is partially overlapped across states and machine cycles . The CPU:

  1. Fetches the opcode from program memory
  2. Latches it into the instruction register and decodes it
  3. Fetches additional bytes if the instruction length requires them 2
  4. Performs the operation, which may include ALU work, internal memory access, or external memory access 2
  5. Fetches the next opcode, often before the current instruction has fully completed

This overlapping is central to interpreting timing diagrams. For instance, even while a one-cycle instruction is executing, another program fetch can be visible on the external bus when code memory is external . By contrast, during the second machine cycle of a MOVX instruction, normal program fetches are skipped because the external bus is committed to the data memory access .

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4 5 6 7 8

  2. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions. 2

Tracing a one-cycle instruction on the classic 8051

  1. 1
    Step 1

    At the start of the machine cycle, the CPU presents the program address. If code memory is external, Port 0 outputs the low address byte and Port 2 outputs the high address byte 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing.

  2. 2
    Step 2

    ALE pulses high so an external latch can capture the low-order address from Port 0 before Port 0 changes role from address to data 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. P87C554 - 80C51 8-bit microcontroller – 12 clock operation - Vendor datasheet noting ALE activation every six oscillator periods and skipped ALE pulses during external data memory access.

  3. 3
    Step 3

    PSEN goes low to read the opcode byte from external program memory. If code memory is internal, this external PSEN activity does not occur for the fetch 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing.

  4. 4
    Step 4

    The opcode is sampled and latched for decoding, and execution of the one-cycle instruction begins in the same machine cycle .

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

  5. 5
    Step 5

    A subsequent fetch occurs later in the cycle, which is why 8051 timing diagrams often show two PSEN activations per machine cycle during external code execution .

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

  6. 6
    Step 6

    By the end of State 6, the one-cycle instruction finishes, and the processor is ready to continue with the next instruction stream element .

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

5. External program memory timing: ALE, PSEN, and multiplexed buses

When the 8051 executes code from external program memory, it uses a multiplexed bus arrangement 2:

  • Port 0 carries A0–A7 first, then becomes the data bus for the fetched opcode byte 2
  • Port 2 carries A8–A15 throughout the access 2
  • ALE strobes an external latch so that the low address remains stable after Port 0 changes function 2
  • PSEN goes active low to read code bytes from external program memory 2

The Intel manual states that when program memory is external, PSEN is normally activated twice per machine cycle . This aligns with the fact that there are two code fetch opportunities within the machine-cycle timing structure. Secondary sources also note that ALE is activated every six oscillator periods and commonly appears twice per machine cycle under normal operation .

A compact conceptual timing view is:

Two ideas matter here:

  1. ALE defines address capture timing 2
  2. PSEN defines external code-read timing 2

If execution instead comes from internal program ROM, then those external PSEN fetch strobes are not needed for the code fetch path, so PSEN remains inactive/high during internal program execution 2.

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4 5 6 7 8 9

  2. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing. 2 3 4 5 6

  3. P87C554 - 80C51 8-bit microcontroller – 12 clock operation - Vendor datasheet noting ALE activation every six oscillator periods and skipped ALE pulses during external data memory access. 2 3

Key timing relationships for external program fetch

Common exam mistake

Do not confuse PSEN with RD. PSEN reads external program memory, while RD reads external data memory during MOVX instructions .

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

6. Why PSEN is active every six oscillator periods

Because one machine cycle contains 12 oscillator periods, a signal that appears twice per machine cycle naturally repeats every 6 oscillator periods 2. Vendor datasheets for 12-clock 8051-compatible devices explicitly describe ALE as being activated every six oscillator periods, and the Intel manual describes PSEN as normally being activated twice per machine cycle during external code execution 2.

Therefore, the statement often taught in 8051 timing analysis is:

  • During external program execution: PSEN is seen as periodic low pulses associated with code fetches, effectively tied to the half-machine-cycle fetch rhythm
  • During internal program execution: PSEN stays inactive/high because no external code fetch is needed 2

This distinction is central when diagnosing hardware with an oscilloscope. A continuously pulsing PSEN usually indicates external code fetch activity, whereas a high/inactive PSEN suggests internal code execution or no external program read in progress 2.

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4 5

  2. P87C554 - 80C51 8-bit microcontroller – 12 clock operation - Vendor datasheet noting ALE activation every six oscillator periods and skipped ALE pulses during external data memory access. 2

  3. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing. 2

7. External data memory access timing: RD and WR during MOVX

External data memory belongs to a separate address space from program memory in the 8051 architecture . Accesses to it are performed by MOVX instructions, and the CPU generates:

  • RD for external data memory reads
  • WR for external data memory writes

The Intel manual emphasizes two important timing facts :

  1. MOVX instructions take 2 machine cycles
  2. No program fetch is generated during the second cycle of a MOVX instruction; this is the only time program fetches are skipped

This explains why external data memory timing diagrams look different from ordinary instruction fetch timing diagrams. The external bus is occupied by the data access, so the expected PSEN fetch strobes are absent during that interval . The same source also notes that a data memory bus cycle takes twice as much time as a program memory bus cycle .

For MOVX @DPTR variants, the full 16-bit address is typically formed using DPTR and emitted across Port 0 and Port 2; for MOVX @Ri, an 8-bit indirect addressing form is used as documented in instruction references 2.

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4 5 6 7

  2. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions.

Tracing external data memory read and write cycles

  1. 1
    Step 1

    After opcode fetch and decode, the CPU recognizes that the operation targets external data memory rather than program memory 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions.

  2. 2
    Step 2

    The low-order address appears on Port 0 and the high-order address on Port 2 when a 16-bit external address is needed, with ALE used to latch the low byte externally .

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

  3. 3
    Step 3

    During the second machine cycle of MOVX, normal program fetch activity is skipped because the bus is dedicated to data memory transfer .

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

  4. 4
    Step 4

    For a read, RD goes low so the external RAM drives data onto the bus; for a write, WR goes low so the external RAM stores the byte presented by the CPU .

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

  5. 5
    Step 5

    The accumulator is the source or destination for MOVX data transfers, depending on whether the operation is a read or write .

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

  6. 6
    Step 6

    At the end of the second machine cycle, the external data access is complete and regular instruction fetch timing resumes 2.

    Footnotes

    1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing.

    2. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions.

8. Comparing program-memory and data-memory timing

The following comparison helps distinguish the bus behavior:

AspectExternal Program Memory FetchExternal Data Memory Access (MOVX)
Primary control signalPSEN RD or WR
PurposeFetch opcode / code byte 2Read or write RAM data
ALE usageLatches low address 2Also latches low address when needed
P0 roleLow address, then code data 2Low address, then data
P2 roleHigh address 2High address for 16-bit access
Program fetch overlapNormal, twice per machine cycle if external code Skipped during second MOVX cycle
Typical durationProgram bus cycleData bus cycle takes longer than program fetch

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4 5 6 7 8 9 10 11 12 13

  2. Intel MCS-51 User's Manual mirror - Additional accessible copy of Intel documentation covering external program-memory fetch and bus multiplexing. 2 3

  3. P87C554 - 80C51 8-bit microcontroller – 12 clock operation - Vendor datasheet noting ALE activation every six oscillator periods and skipped ALE pulses during external data memory access.

Classic 8051 Instruction Timing by Machine Cycles

Instruction latency in oscillator periods for a 12-clock 8051 [^1][^4][^5].

9. Applying timing analysis to performance calculations

Instruction timing analysis is indispensable for estimating real execution speed. On the classic 8051, if a sequence contains instruction cycle counts C1,C2,,CnC_1, C_2, \dots, C_n, then total execution time is

Ttotal=12fosci=1nCiT_{\text{total}} = \frac{12}{f_{\text{osc}}}\sum_{i=1}^{n} C_i

2

For example, suppose a code fragment contains:

  • MOV A,R1 = 1 cycle
  • ADD A,#data = 1 cycle
  • DJNZ R2,LOOP = 2 cycles

Then one pass through the three instructions costs:

1+1+2=4 machine cycles1 + 1 + 2 = 4 \text{ machine cycles}

At 12 MHz:

T=4×1μs=4μsT = 4 \times 1\mu s = 4\mu s

approximately 2.

For an external RAM transfer like MOVX A,@DPTR, the instruction takes 2 machine cycles 2, so at 11.0592 MHz:

T2×1.085μs=2.17μsT \approx 2 \times 1.085\mu s = 2.17\mu s

This kind of calculation is the basis for:

  • delay-loop design 2
  • bus throughput estimation
  • real-time response analysis 2
  • timer preload calculations

Footnotes

  1. MCS-51 Microcontroller Family User's Manual - Primary Intel reference describing machine cycles, fetch/execute timing, PSEN, ALE, MOVX, and external bus timing. 2 3 4

  2. Atmel 8051 Microcontrollers Hardware Manual - Instruction set reference with cycle counts for classic 8051-compatible instructions. 2 3 4 5 6

  3. Embedded Systems/8051 Microcontroller - Wikibooks - Overview of oscillator, states, and the 12-clock machine-cycle model. 2 3 4

  4. Overview of the 8051 Microcontroller - Educational summary listing examples of 1-cycle, 2-cycle, and 4-cycle instructions.

Advanced interpretation notes

Knowledge Check

Question 1 of 5
Q1Single choice

In the classic 8051, one machine cycle is equal to: