www.epdh.org - Your Gateway to Lifelong Learning   |   Email: PDHonline@Gmail.com   
 
Current
Price
Course
Number
PDH Online Course Description PDH Units/
Learning Units (Hours)
Buy
Course
Take
Quiz
$129

Buy Now

View Course

View or Take Quiz

add_to_cart

save_for_later
E767
Microcontrollers: the Arithmetic Logic Unit

Mark A. Strain, P.E.

The arithmetic logic unit (ALU) is the central core of a central processing unit (CPU). The ALU is simply a digital circuit that performs arithmetic and logical operations on binary numbers. They are combinational logic circuits which means that their outputs change asynchronously in response to changes to their inputs. ALU circuits perform operations on integer binary numbers. All microcontrollers contain an arithmetic logic unit (ALU). It is a fundamental building block of the CPU.

An ALU has two integer inputs called operands and another input called an opcode. The opcode instructs the ALU which instruction to perform (like addition, subtraction, decrement, increment, AND, OR, NOT, XOR, etc.). The opcode code is a binary code that comes from the instruction set (or program) that is being executed. The instructions or program will contain both the operands or numbers to be used and the opcode that tells the ALU what to do with the numbers, eg. add the numbers. These instructions are usually written in a higher level programming language and are stored in the computer's main memory. A compiler will compile the higher level language program and convert it to machine code. The computer executes one instruction at a time.

This course focuses on the ALU. This course explains how arithmetic and logical operations are performed within a CPU. This course explains how the instruction from the machine code from a compiled computer program gets translated into useful code for the ALU to determine which operation to perform and where the data is coming from.

This course includes a multiple-choice quiz at the end, which is designed to enhance the understanding of the course materials.


View Course Content

NY PE & PLS: You must choose courses that are technical in nature or related to matters of laws and ethics contributing to the health and welfare of the public. NY Board does not accept courses related to office management, risk management, leadership, marketing, accounting, financial planning, real estate, and basic CAD. Specific course topics that are on the borderline and are not acceptable by the NY Board have been noted under the course description on our website.

5