These two units are. made up of electronic circuits with millions of switches that can be in one of two states, either on or off.
The function of the control unit within the central processor is to transmit coordinating control signals and commands. The control unit is that portion of the computer that directs the sequence or step-by-step operations of the system, selects instructions and data from memory, interprets the program instructions, and controls the flow between main storage and the arithmetic logical unit.
The arithmetic - logical unit, on the other hand, is that portion of the computer in which the actual arithmetic operations, namely, addition,subtraction, multiplication, division and exponentiation, called for in the ' instructions are performed. It also performs some kinds of logical operations such as comparing or selecting information. All the operations of the ALU are under the direction of the control unit.
Trong máy tính kỹ thuật số, CPU có thể được chia thành hai bộ phận chức năng, gọi là bộ điều khiển, bộ logic học. Hai bộ nhớ được tạo bởi các mạch điện tử có thể ở một trong hai trạng thái đóng hoặc ngắt.
Chức năng của bộ điều khiển trong phạm vi bộ xử lý trung tâm là chuyển đi các tín hiệu và các lệnh điều khiển kết hợp. Bộ điều khiển là một phần của máy tính chỉ đạo những thao tác tuần tự hay những thao tác từng bước một của hệ thống, chọn lệnh và dữ liệu từ bộ nhớ, dịch các lệnh và quản lý dữ liệu giữa bộ lưu trữ chính và bộ logic học.
Mặt khác bộ logic học là một phần của máy tính trong đó các phép tính số học như cộng trừ nhân chia và luỹ thừa được thực hiện theo lệnh và chỉ thị. Nó cũng thực hiện một số phép toán logic chẳng hạn như so sánh hay lựa chọn thông tin. Tất cả hoạt động của ALU đều dưới sự chỉ đạo của bộ điều khiển.