The Central Processing Unit (CPU).
Crash Course Computer Science #7
CPU - answer Central Processing Unit whose job is to execute programs.
Programs - answer are made up of a series of individual operations called instructions,
because they instruct the computer what to do.
micro-architecture - answer a description of the electrical circuitry of a computer, central
processing unit, or digital signal processor that is sufficient for completely describing the
operation of the hardware.
Two types of computer memory - answer Registers and RAM
We can assign an ______________________ to each instruction supported by our
CPU. - answerID
operation code - answer Opcode. First part of machine language instruction. Specifies
which operation needs to be carried out (e.g., addition, store)
Instruction Address Register - answerstores the memory address of the current
instruction
Fetch phase - answerFirst phase of a CPU's operation where we retrieve our first
instruction. First, we wire our Instruction Address Register to our RAM module. The
register's value is 0, so the RAM returns whatever value is stored in address 0. Then
this value is copied into our instruction register.
Decode phase - answerSecond phase where we figure out what that instruction is so
we can execute it.
In this case the op-code, which is the first four bits, is: 0010. - answerThis op-code
corresponds to the "LOAD A" instruction, which loads a value from RAM into Register A.
The RAM address is the last four bits of our instruction which are 1110, or 14 in
decimal.
Control Unit (CU) - answerProcessor component that manages the execution of
instructions during the fetch-execute cycle.
Execute Phase - answerLast phase where the CU completes the instructions.
Crash Course Computer Science #7
CPU - answer Central Processing Unit whose job is to execute programs.
Programs - answer are made up of a series of individual operations called instructions,
because they instruct the computer what to do.
micro-architecture - answer a description of the electrical circuitry of a computer, central
processing unit, or digital signal processor that is sufficient for completely describing the
operation of the hardware.
Two types of computer memory - answer Registers and RAM
We can assign an ______________________ to each instruction supported by our
CPU. - answerID
operation code - answer Opcode. First part of machine language instruction. Specifies
which operation needs to be carried out (e.g., addition, store)
Instruction Address Register - answerstores the memory address of the current
instruction
Fetch phase - answerFirst phase of a CPU's operation where we retrieve our first
instruction. First, we wire our Instruction Address Register to our RAM module. The
register's value is 0, so the RAM returns whatever value is stored in address 0. Then
this value is copied into our instruction register.
Decode phase - answerSecond phase where we figure out what that instruction is so
we can execute it.
In this case the op-code, which is the first four bits, is: 0010. - answerThis op-code
corresponds to the "LOAD A" instruction, which loads a value from RAM into Register A.
The RAM address is the last four bits of our instruction which are 1110, or 14 in
decimal.
Control Unit (CU) - answerProcessor component that manages the execution of
instructions during the fetch-execute cycle.
Execute Phase - answerLast phase where the CU completes the instructions.