Skip to content
0:00 / 0:00

#cpu#fetch-decode-execute#assembly

Fetch-Decode-Execute Cycle

John Philip Jones

43K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 1 in engineering communities and 1 curated list.
  • Presented by John Philip Jones

Beginner. No background in the topic needed.

213K views13 years ago2 recommendations

HardwareSystems programmingCPUs and computer architectureOperating systems

John Philip Jones explains the fetch-decode-execute cycle of a CPU using a simple machine code instruction.

Shows a typical fetch decode execute cycle for a machine code instruction (that uses implied addressing) #JohnPhilipJones

Why it's here

2 people recommend this

What people say. Recommended as a clear explanation of how a CPU executes a program.

Coding Interview Universitycurated list on GitHubRecommends

Under “Even More Knowledge”

How CPU executes a program (video)

u/hughkin r/compsci • Recommends

On “What is the mode by which machine language is converted to physical voltages?”

A program in machine language is stored as patterns of ones and zeroes and is read into main memory from storage. There it is also stored patterns of ones and zeroes (high and low voltages). The magic is something called an instruction decoder. This fetches the information at the location pointed to by the program counter and then decodes the instruction and executes it. This interpretation can be anything from a micro machine of its own (with its own program) to direct implementation using logic gates. Execution will then enable particular logic to act on the data as directed. For example if we have a register containg the value 0 and we want to increment it, at the low level the CPU must…