Professional Documents
Culture Documents
Coa
Coa
Coa
Describe how it
executes instructions in a computer system.
byte 1: 0x78
byte 2: 0x56
byte 3: 0x34
byte 4: 0x12
byte 1: 0x12
byte 2: 0x34
byte 3: 0x56
byte 4: 0x78
Instruction fetch signal: This signal tells the CPU to fetch the
next instruction from memory.
Instruction decode signal: This signal tells the CPU to
decode the next instruction.
Execute signal: This signal tells the CPU to execute the next
instruction.
Memory read signal: This signal tells the CPU to read data
from memory.
Memory write signal: This signal tells the CPU to write data
to memory.
Register select signal: This signal tells the CPU which
register to use.
ALU control signal: This signal tells the ALU what operation
to perform.
Data transfer control signal: This signal tells the CPU how to
transfer data between the registers and memory.
The specific control signals that are used by a CPU will vary
depending on the design of the CPU. However, all CPUs
use control signals to control the execution of instructions.
Here are some of the ways that the CU interacts with other
CPU components:
52 in binary is 0011_0100
-22 in 2's complement representation is 0100_1010
Adding these two numbers gives us:
0011_0100 (+52)
+ 0100_1010 (-22)
------------
0111_1110 (+30)
Evaluating (-52) - (-22):