Skip to main content
added 495 characters in body
Source Link
mring
  • 1.1k
  • 2
  • 12
  • 22

When you first turn on your computer, is the fetch/execute cycle first set up to fetch instructions from the BIOS chip directly to the instruction register in the CPU or is there automatic circuitry set up so that when power on is detected, the instructions in the BIOS chip are automatically loaded into RAM?

Update

I think I found my answer here:

After the reset signal turns off, the CPU begins to operate. Code in RAM cannot be executed since the RAM is empty. The CPU manufacturers pre-program the processor to always begin executing code at address "FFFF:0000" (usually the ROM BIOS) of the ROM.

So the CPU is physically set up to go to fetch and execute the memory address FFFF:0000 in ROM as soon as it's on.

When you first turn on your computer, is the fetch/execute cycle first set up to fetch instructions from the BIOS chip directly to the instruction register in the CPU or is there automatic circuitry set up so that when power on is detected, the instructions in the BIOS chip are automatically loaded into RAM?

When you first turn on your computer, is the fetch/execute cycle first set up to fetch instructions from the BIOS chip directly to the instruction register in the CPU or is there automatic circuitry set up so that when power on is detected, the instructions in the BIOS chip are automatically loaded into RAM?

Update

I think I found my answer here:

After the reset signal turns off, the CPU begins to operate. Code in RAM cannot be executed since the RAM is empty. The CPU manufacturers pre-program the processor to always begin executing code at address "FFFF:0000" (usually the ROM BIOS) of the ROM.

So the CPU is physically set up to go to fetch and execute the memory address FFFF:0000 in ROM as soon as it's on.

edited tags
Link
mring
  • 1.1k
  • 2
  • 12
  • 22
Source Link
mring
  • 1.1k
  • 2
  • 12
  • 22

Is BIOS read from the BIOS chip or copied into RAM on startup?

When you first turn on your computer, is the fetch/execute cycle first set up to fetch instructions from the BIOS chip directly to the instruction register in the CPU or is there automatic circuitry set up so that when power on is detected, the instructions in the BIOS chip are automatically loaded into RAM?