
Explore variants of microcontrollers and learn criteria for choosing one, focusing on computational ability, available development environments, and market availability, while preparing to program the 8051 architecture in assembly language.
Explains the 8051 microcontroller architecture, detailing the CPU, crystal oscillator, interrupt control unit, program memory and RAM, plus four bit-addressable ports, a bus, serial ports, and timers.
Explore how 8051 assembly distinguishes instructions from assembler directives, how origin directives and 16-bit addresses map program memory, and why object code is produced only for instructions.
Explore single bit instructions in 8051 assembly, covering flag set and clear operations, and contrast with the increment instruction that updates register values.
Learn how to implement multiplication in 8051 assembly by repeatedly adding the multiplicand to an accumulator within a loop using a label, decrement, and jump until zero.
Learn bit addressability in 8051 ports by using single-bit instructions to set and clear individual bits, access any bit separately, and implement looped control with conditional jumps.
In this course, we will delve into the realm of assembly language programming, focusing on the utilization of instructions for programming 8051 Family Microcontrollers. It's important to note that no physical hardware is required, as all the exercises will be performed within simulation software.
Throughout this course, we will:
Explore the distinctions between Microprocessors and Microcontrollers.
Investigate the various variants of Microcontrollers available.
Discuss the criteria for selecting the appropriate Microcontroller for specific applications.
Dive into the internal architecture of the 8051 Microcontroller.
Gain proficiency in working with Hexadecimal numbers.
Understand the concepts of Program Memory and Data Memory.
Learn about Bit Addressability and its application to registers.
Differentiate between a Program Counter and a Stack Pointer.
Familiarize ourselves with the Keil Integrated Development Environment (IDE).
Master the art of Single Byte Addition.
Extend our knowledge to Double Byte Addition.
Comprehend the significance of the Program Status Word (PSW) Flags.
Grasp the concept of Overflow in addition operations.
Recognize the importance of the stack in program execution.
Implement assembly language programs, including:
Program 1: Calculating the Sum of the first five natural numbers.
Program 2: Achieving Multiplication through repeated addition.
Gain proficiency in programming Input/Output (I/O) Ports.
Implement Logical instructions for data manipulation.
Understand the Single Bit Instructions for precise control.
This course is tailored for beginners who are venturing into the world of embedded systems and wish to explore it in-depth. Rest assured, the content is presented from the ground up, making it accessible to complete novices. Additionally, we have provided an instruction set for your reference to facilitate your learning journey.