The software that translates human-readable code into machine-readable code is the compiler. The Compilation Process A compiler processes code through several distinct phases:
Every digital computer functions as a binary system, meaning it processes information using two states: (represented as 1 or high voltage) and OFF (represented as 0 or low voltage). The absolute smallest unit of control in this system is the transistor, which acts as an electronic switch. By combining transistors in specific configurations, engineers create logic gates . At any given moment, every terminal is in
A is an elementary building block of digital circuits. Most logic gates have two inputs and one output. At any given moment, every terminal is in one of two binary conditions: low (0) or high (1). perform a specific logical operation
Modern software is written in high-level languages like Python, Java, or C++. However, a processor only understands a very low-level language, known as or assembly language . The Control Unit (CU) Ultra-fast
Registers are ultra-fast, local storage slots located directly on the CPU die. They hold the immediate data being processed by the ALU, the memory addresses currently being accessed, and the status flags of the processor. Key registers include the , which holds the address of the next instruction to execute, and the Instruction Register (IR) , which holds the instruction currently being decoded. The Control Unit (CU)
Ultra-fast, internal storage slots inside the CPU. Examples include the Program Counter (PC), which holds the memory address of the next instruction, and the Instruction Register (IR), which holds the current instruction being executed.
Logic gates are the fundamental building blocks of digital hardware. They take one or more binary inputs, perform a specific logical operation, and produce a single binary output. Core Logic Gates Outputs 1 only if all inputs are 1. OR Gate: Outputs 1 if at least one input is 1.