Instruction Decoder: Fungsi
: The CPU gets an instruction from memory and stores it in the Instruction Register (IR) .
: It extracts the operands (the data or memory addresses the instruction will act upon) from the instruction bit stream.
: The generated control signals trigger the hardware (e.g., the ALU performs a calculation). 🛠️ Types of Instruction Decoders Fungsi Instruction Decoder
: It determines how the CPU should find data—whether it is stored directly in the instruction, in a register, or at a specific memory address. 🔄 The Decoder in the Instruction Cycle
: The Instruction Decoder reads the IR, breaking down the binary pattern into meaningful commands. : The CPU gets an instruction from memory
: It produces electrical signals that open or close logic gates, directing the flow of data across the CPU's internal buses.
: It identifies the Opcode (operation code), such as "ADD," "MOVE," or "JUMP," and determines which functional unit (like the ALU) needs to be activated. 🛠️ Types of Instruction Decoders : It determines
The decoder acts as a "translator" between the software's binary instructions and the physical hardware of the processor.