Download presentation
Presentation is loading. Please wait.
Published byAdrian Barber Modified over 9 years ago
1
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 8 Microcomputers
2
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 8 Microcomputers 1. Identify and describe the functional blocks of a microcomputer. 2. Select the type of memory needed for a given application.
3
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. 3. Understand how microcomputers or microcontrollers can be applied in your field of specialization. 4. Identify the internal registers and their functions for the 68HC11 microcomputer. 5. List some of the instructions and addressing modes of the 68HC11. 6. Write simple programs using the 68HC11 instruction set.
4
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. An embedded computer is part of a product, such as an automobile, printer, or bread machine, that is not called a computer. A microcomputer or microcontroller is a complete computer containing the CPU, memory, and I/O on a single silicon chip.
5
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.
6
This computer, in which the instructions and data are stored in the same memory, has von Neumann architecture (also known as Princeton architecture).
7
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.
10
MEMORY TYPES (1) Read-and-write memory (RAM) (2) Read-only memory (ROM) (3) Mass storage
11
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Selection of Memory 1.The trade-off between speed and cost 2. Whether the information is to be stored permanently or must be changed frequently 3. Whether data are to be accessed in random order or in sequence
12
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.
16
Stacks and the Stack Pointer Register Stacks are last-in first-out memories. Information is added to (pushed onto) the top of the stack and eventually read out (pulled off) in the reverse order that it was written.
17
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.
21
ASSEMBLY-LANGUAGE PROGRAMMING In general, Motorola assembly language statements take the form: LABEL INSTRUCTION/DIRECTIVE OPERAND COMMENT Directives are used to give commands to the assembler.
22
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.
24
Example 8.3 Machine Code for Example 8.2
25
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.