The 8051 Microcontroller and Embedded Systems, 2/e (NIE-Paperback)

Muhammad Ali Mazidi , Janice G. Mazidi , Rolin D. McKinlay

  • 出版商: Pearson FT Press
  • 出版日期: 2013-08-01
  • 定價: $1,400
  • 售價: 9.5$1,330
  • 語言: 英文
  • 頁數: 640
  • ISBN: 129202657X
  • ISBN-13: 9781292026572
  • 相關分類: 8051嵌入式系統
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

Mazidi's 8051 Microcontroller text emphasises the programming and interfacing of the 805
1. A systematic, step-by-step approach is used to cover various aspects of 805
1. C and Assembly language programming and interfacing. Many examples and sample programs are given to clarify the concepts and provide students with an opportunity to learn by doing. Review questions are provided at the end of each section to reinforce the main points of the section.

商品描述(中文翻譯)

Mazidi的8051微控制器教材強調8051的程式設計和介面。書中使用系統性、逐步的方法來涵蓋8051的各個方面,包括C和組合語言的程式設計和介面。書中提供了許多例子和範例程式,以澄清概念並讓學生有機會透過實際操作學習。每個章節結束時都提供了複習問題,以加強該章節的主要觀點。

目錄大綱

CHAPTER 0: INTRODUCTION TO COMPUTING 1
Section 0.1: Numbering and coding systems 2
Section 0.2: Digital primer 9
Section 0.3: Inside the computer 13
CHAPTER 1: THE 8051 MICROCONTROLLERS 23
Section 1.1: Microcontrollers and embedded processors 24
Section 1.2: Overview of the 8051 family 28
CHAPTER 2: 8051 ASSEMBLY LANGUAGE PROGRAMMING 37
Section 2.1: Inside the 8051 38
Section 2.2: Introduction to 8051 Assembly programming 41
Section 2.3: Assembling and running an 8051 program 44
Section 2.4: The program counter and ROM space in the 8051 46
Section 2.5: 8051 data types and directives 49
Section 2.6: 8051 flag bits and the PSW register 52
Section 2.7: 8051 register banks and stack 55
CHAPTER 3: JUMP, LOOP, AND CALL INSTRUCTIONS 69
Section 3.1: Loop and jump instructions 70
Section 3.2: Call instructions 75
Section 3.3: Time delay for various 8051 chips 80
CHAPTER 4: I/OPORT PROGRAMMING 93
Section 4.1: 8051 I/O programming 94
Section 4.2: I/O bit manipulation programming 100
CHAPTER 5: 8051 ADDRESSING MODES 109
Section 5.1: Immediate and register addressing modes 110
Section 5.2: Accessing memory using various addressing modes 112
Section 5.3: Bit addresses for I/O and RAM 122
Section 5.4: Extra 128-byte on-chip RAM in 8052 131
CHAPTER 6: ARITHMETIC & LOGIC INSTRUCTIONS
AND PROGRAMS 139
Section 6.1: Arithmetic instructions 140
Section 6.2: Signed number concepts and arithmetic operations 150
Section 6.3: Logic and compare instructions 155
Section 6.4: Rotate instruction and data serialization 161
Section 6.5: BCD, ASCII, and other application programs 167
CHAPTER 7: 8051 PROGRAMMING IN C 181
Section 7.1: Data types and time delay in 8051 C 182
Section 7.2: I/O programming in 8051 C 188
Section 7.3: Logic operations in 8051 C 194
Section 7.4: Data conversion programs in 8051 C 199
Section 7.5: Accessing code ROM space in 8051 C 204
Section 7.6: Data serialization using 8051 C 209
CHAPTER 8: 8051 HARDWARE CONNECTION AND
INTEL HEX FILE 217
Section 8.1: Pin description of the 8051 218
Section 8.2: Design and test of DS89C4x0 trainer 224
Section 8.3: Explaining the Intel hex file 232
CHAPTER 9: 8051 TIMER PROGRAMMING
IN ASSEMBLY AND C 239
Section 9.1: Programming 8051 timers 240
Section 9.2: Counter programming 255
Section 9.3: Programming timers 0 and 1 in 8051 C 260
CHAPTER 10: 8051 SERIAL PORT PROGRAMMING
IN ASSEMBLY AND C 277
Section 10.1: Basics of serial communication 278
Section 10.2: 8051 connection to RS232 285
Section 10.3: 8051 serial port programming in Assembly 287
Section 10.4: Programming the second serial port 300
Section 10.5: Serial port programming in C 306
CHAPTER 11: INTERRUPTS PROGRAMMING
IN ASSEMBLY AND C 317
Section 11.1: 8051 interrupts 318
Section 11.2: Programming timer interrupts 322
Section 11.3: Programming external hardware interrupts 326
Section 11.4: Programming the serial communication interrupt 333
Section 11.5: Interrupt priority in the 8051/52 337
Section 11.6: Interrupt programming in C 340
CHAPTER 12: LCD AND KEYBOARD INTERFACING 351
Section 12.1: LCD interfacing 352
Section 12.2: Keyboard interfacing 363
CHAPTER 13: ADC, DAC, AND SENSOR INTERFACING 373
Section 13.1: Parallel and serial ADC 374
Section 13.2: DAC interfacing 398
Section 13.3: Sensor interfacing and signal conditioning 403
CHAPTER 14: 8051 INTERFACING TO EXTERNAL MEMORY 411
Section 14.1: Semiconductor memory 412
Section 14.2: Memory address decoding 422
Section 14.3: 8031/51 interfacing with external ROM 425
Section 14.4: 8051 data memory space 430
Section 14.5: Accessing external data memory in 8051 C 440
CHAPTER 15: 8051 INTERFACING WITH THE 8255 449
Section 15.1: Programming the 8255 450
Section 15.2: 8255 interfacing 458
Section 15.3: 8051 C programming for the 8255 462
CHAPTER 16: DS12887 RTC INTERFACING
AND PROGRAMMING 467
Section 16.1: DS12887 RTC interfacing 468
Section 16.2: DS12887 RTC programming in C 476
Section 16.3: Alarm, SQW, and IRQ features of the
DS12887 chip 479
CHAPTER 17: MOTOR CONTROL: RELAY, PWM, DC,
AND STEPPER MOTORS 491
Section 17.1: Relays and optoisolators 492
Section 17.2: Stepper motor interfacing 498
Section 17.3: DC motor interfacing and PWM 507
APPENDIX A: 8051 INSTRUCTIONS, TIMING, AND REGISTERS 523
APPENDIX B: BASICS OF WIRE WRAPPING 563
APPENDIX C: IC TECHNOLOGY AND SYSTEM DESIGN ISSUES 567
APPENDIX D: FLOWCHARTS AND PSEUDOCODE 587
APPENDIX E: 8051 PRIMER FOR X86 PROGRAMMERS 592
APPENDIX F: ASCII CODES 593
APPENDIX G: ASSEMBLERS, DEVELOPMENT RESOURCES,
AND SUPPLIERS 594
APPENDIX H: DATA SHEETS 596
INDEX 617 

目錄大綱(中文翻譯)

第0章:計算機導論 1
第0.1節:編號和編碼系統 2
第0.2節:數字基礎知識 9
第0.3節:計算機內部結構 13
第1章:8051微控制器 23
第1.1節:微控制器和嵌入式處理器 24
第1.2節:8051系列概述 28
第2章:8051組合語言編程 37
第2.1節:8051內部結構 38
第2.2節:8051組合語言編程介紹 41
第2.3節:組合和運行8051程序 44
第2.4節:8051中的程序計數器和ROM空間 46
第2.5節:8051數據類型和指令 49
第2.6節:8051標誌位和PSW寄存器 52
第2.7節:8051寄存器組和堆棧 55
第3章:跳轉、循環和調用指令 69
第3.1節:循環和跳轉指令 70
第3.2節:調用指令 75
第3.3節:不同8051芯片的時間延遲 80
第4章:I/O端口編程 93
第4.1節:8051 I/O編程 94
第4.2節:I/O位操作編程 100
第5章:8051地址模式 109
第5.1節:立即和寄存器地址模式 110
第5.2節:使用不同地址模式訪問內存 112
第5.3節:I/O和RAM的位地址 122
第5.4節:8052中的額外128字節片上RAM 131
第6章:算術和邏輯指令和程序 139
第6.1節:算術指令 140
第6.2節:有符號數概念和算術運算 150
第6.3節:邏輯和比較指令 155
第6.4節:旋轉指令和數據串行化 161
第6.5節:BCD、ASCII和其他應用程序 167
第7章:8051 C語言編程 181
第7.1節:8051 C語言中的數據類型和時間延遲 182
第7.2節:8051 C語言中的I/O編程 188
第7.3節:8051 C語言中的邏輯操作 194
第7.4節:8051 C語言中的數據轉換程序 199
第7.5節:8051 C語言中訪問代碼ROM空間 204
第7.6節:使用8051 C語言進行數據串行化 209
第8章:8051硬件連接和Intel HEX文件 217
第8.1節:8051引腳描述 218
第8.2節:DS89C4x0培訓器的設計和測試 224
第8.3節:解釋Intel HEX文件 232
第9章:8051計時器編程(組合語言和C語言) 239
第9.1節:編程8051計時器 240
第9.2節:計數器編程 255
第9.3節:在8051 C語言中編程計時器0和1 260
第10章:8051串口編程(組合語言和C語言) 277
第10.1節:串行通信基礎知識 278
第10.2節:8051連接到RS232 285
第10.3節:組合語言中的8051串口編程 287
第10.4節:編程第二個串口 300
第10.5節:C語言中的串口編程 306
第11章:中斷編程(組合語言和C語言) 317
第11.1節:8051中斷 318
第11.2節:編程計時器中斷 322
第11.3節:編程外部硬件中斷 326
第11.4節:編程串行通信中斷 333
第11.5節:8051/52中的中斷優先級 337
第11.6節:C語言中的中斷編程 340
第12章:LCD和鍵盤接口 351
第12.1節:LCD接口 352
第12.2節:鍵盤接口 363
第13章:ADC、DAC和傳感器接口 373
第13.1節:並行和串行ADC 374
第13.2節:DAC接口 398
第13.3節:傳感器接口和信號調節 403
第14章:8051與外部存儲器接口 411
第14.1節:半導體存儲器 412
第14.2節:存儲器地址解碼 422
第14.3節:8031/51與外部RO接口