Jump to ratings and reviews
Rate this book

The 8051 Microcontroller and Embedded Systems: Using Assembly and C

Rate this book
The 8051 Microcontroller And Embedded Systems Using Assembly And C is a comprehensive guidebook that covers the 8051 microcontroller interface in detail. It uses both Assembly Language and C to explain the practical applications of the 8051 microcontroller.The book has the potential to help readers design simple standalone systems as well as complex embedded ones. It contains a total of 17 chapters. The first couple of chapters introduce the 8051 microcontroller and programming using Assembly Language. The chapters that follow discuss concepts like addressing modes, I/O port programming, and instructions and programs related to arithmetic and logic. Jump, loop, and call instructions are also covered in one of the initial chapters.The seventh chapter introduces the programming of the 8051 microcontroller using C. Subsequent chapters present topics like hardware connection, timer programming, serial port programming, and programming of interrupts.Both Assembly Language and C are used to explain the interaction of the microcontroller with real world devices such as ADCs, sensors, keyboards, LCDs, stepper motors, DC motors, and real-time clocks. These interfacing concepts have been newly introduced in this edition. They are covered in Chapters 12-17.The content of the book is laid out in a systematic and precise manner. Plenty of examples are also included to help the readers understand the instructions and the practical aspects of the concepts covered.The book ends with several appendices that include RAM memory maps, 8051 register diagrams, basics of wire wrapping, flowcharts, pseudocode, ASCII character tables, data sheets, and more.This particular edition of the book is the second edition. It was published by Pearson in 2007.About The Authors Muhammad Ali Mazidi is a lecturer of microprocessor-based system design at DeVry University, Texas.He has written books like X86 PC: Assembly Language, Design, And Interfacing, and The 80x86 IBM PC And Compatible Comp

427 pages, Paperback

First published December 1, 2008

26 people are currently reading
327 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
53 (49%)
4 stars
32 (29%)
3 stars
13 (12%)
2 stars
3 (2%)
1 star
7 (6%)
Displaying 1 - 8 of 8 reviews
Profile Image for Haneen.
294 reviews9 followers
September 26, 2012
CSC304:Microprocessor Architecture and Assembly Language
Sprinf 2011-2012
SuTu 4-5:15 pm



One of the most interesting classes that I have ever took..Although no one was excited with the "Assembly Language" but we were having fun..
A lot of fun..

Thanks Girls...I love taking classes with U...

The book is really amazing...I enjoyed reading it so much..Its clear and direct.. I advice reading it to those who are interested in "Assembly and C Languages"



Profile Image for Medhat  ullah.
409 reviews9 followers
January 11, 2025
; Summary.asm

START: MOV A, #8051H ; Load the heart of the book: the 8051 microcontroller
MOV R0, #ARCHI ; Point to architecture overview
CALL EXPLAIN_REGS ; Deep dive into register set: Accumulator, DPTR, PC
CALL MEM_MAP ; Map internal and external memory spaces

INSTR_SET: JMP MOV_OPCODES ; Jump to instruction set details
MOV A, #LOGIC ; Logical operations: AND, OR, XOR, NOT
MOV A, #ARITH ; Arithmetic magic: ADD, SUB, MUL, DIV
SJMP BRANCH_INST ; Handle jumps, loops, and branches: JMP, CALL, RET

EMBEDDED_C: PUSH ACC ; Save assembly logic, introduce Embedded C
MOV A, #IO_CTRL ; Simplify I/O pin management with human-friendly syntax
MOV A, #TIMERS ; Configure delays with timers in C

INTERFACING: CALL INTER_PERIPH ; Attach peripherals: LEDs, LCDs, motors
CALL UART_PROTO ; Use UART for serial comms with RS-232

MULTITASKING: SETB PWR_MODE ; Enable power efficiency: Sleep and Idle modes
CALL INTERRUPT_LOG ; Master interrupt-driven multitasking
ORG CODE_EXP ; Write modular, maintainable C programs

DEV_ENV: MOV A, #KEIL ; Load Keil IDE for simulation and debugging
MOV A, #DEV_BOARDS ; Test on hardware boards
SJMP REAL_WORLD ; Apply concepts to practical projects

EXIT: JMP END_PROJ ; Wrap up and create fully functional embedded systems

Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.