Please enable JavaScript.
Coggle requires JavaScript to display documents.
CPU, Data Bus - Coggle Diagram
CPU
CPU/WHAT IT DOES
-
This is the first step, first the program is loaded into RAM by the operating system, the CPU is then told where it can find the instruction, the location of the first step is then loaded into the program counter.
-
-
The same number that was in the program counter is then put n the memory address register
[mar] (where the first instruction is).
-
-
-
-
-
The program counter will now be moved one up, so the next instruction.
-
-
Decode
-
This is the second one that the CPU does, whilst the next fetch cycle begins,
the CPU is decoding the content from the instruction before.
It checks that the content is a valid instruction, if it is an invalid instruction the
program will crash.
Execute
-
This is the last step in the cycle, once the input has been checked it is a correct command the execution can begin.
It will add whatever the instruction is to the accumulator, for example if the accumulator was 7 and the instruction was ADD#5 the accumulator will now be 12.
Fetch
Gets the instructions from the RAM, once this is done it does it again
This is the first step, first the program is loaded into RAM by the operating system, the CPU is then.
Told where it can find the first instruction, the location of the first step is then loaded into the.
-
-
-
-
-
-
-
-
-
-
The program counter will now be moved one up, so the next instruction.
-
-