ECE 212 Lecture 1
ECE 212 Lecture 1
Lecture 1
Calendar Description
Microcomputer architecture, assembly language programming, memory and input/output system, interrupts
Lecture 1
02/09/2013
Lecture 1
Course Content
1. Hardware part
Computer architecture How to assign each device a unique identification? (address decoding) How do the devices communicate? (Input/output)
The format of data (data representation) Where to find/locate data? (addressing mode) Operations on data: Addition? Subtraction? (instruction set) Advanced programming tools (stack, subroutines, exceptions/interrupts)
Lecture 1
02/09/2013
Course Outline - 1
1. Fundamental Concepts
2. Computer Architecture
3. Addressing Modes
4. Instruction Set
Lecture 1
Course Outline - 2
5. Subroutines
6. Input/Output
Coldfire I/O
7. Address Decoding
Lecture 1
02/09/2013
What is Microprocessor?
A microprocessor is a single-chip central processing unit (CPU). a microprocessor (P) is the brain of a computer. It understands d t d and d executes t th the sequence of f binary bi instructions in a compiled computer program.
The binary instructions in a more understandable way: assembly language instructions (our focus)
Compared to the CPU, the other parts of a computer are relatively dumb and require detailed attention from the CPU in order to function properly in the computer system.
Lecture 1
Applications of Microprocessors
Microprocessors can be found just about everywhere: In general-purpose computers, like personal computers (PCs). (PCs) In special-purpose computers, like calculators, personal data assistants (PDAs), and game computers. In embedded computers that control automobiles, appliances, instruments, communication systems, cell phones, factories, assembly lines, lumber mills, etc. Ex. In a car, microprocessors are used in the ignition system emission control system system, system, anti anti-lock lock brakes, brakes dashboard display, entertainment system, navigation system, etc. Modern cars often contain 20 or more microprocessors.
Lecture 1
02/09/2013
Microprocessor History
The microprocessor became possible only after integrated circuit technology had advanced to the point where several thousand transistor switches could be integrated g onto a single semiconductor chip. The Intel 4004 (1971) was the first microprocessor: originally developed for a desktop calculator product contained 2300 transistors occupied a silicon area of 12 mm2 implemented in 10 m PMOS semiconductor technology data bus was 4 bits wide 640 bytes of data could be addressed system clock ran at a frequency of 108 KHz could perform roughly 60k operations per second (one operation per 2 system clock cycles)
Lecture 1 9
Intel 4004
It was Intel's first microprocessor. It contained 2,300 transistors and was built using a 10 micron process. It had a total of 16 pins.
Lecture 1
10
02/09/2013
Moores Law: the number of transistors on a chip doubles about every 2 years
AMD Phenom II X4: can have more than 40 billion instructions per second.
Lecture 1 11
Pentium 4
42 million transistors and circuit lines of 0.18 microns.
x86 family
Lecture 1
12
02/09/2013
Microprocessor Revolution
The appearance of the microprocessor revolutionized digital system design starting in the 1970s, and continuing on until the present day. The main advantages of the microprocessor:
- Programmable. Sophisticated functions can be provided relatively easily in software. - Powerful. Advances in integrated circuit technology are leading to faster and more powerful microprocessors. - Cost-effective. Microprocessors, because they are multipurpose, are manufactured in large quantities, which tends to minimize their unit cost. - Reliable. Integrated circuits are highly-reliable. Microprocessors have no moving parts. - Compact. More and more functionality can be packed onto a single microprocessor/microcontroller chip.
Lecture 1
13
Disadvantages of Microprocessor
The learning curve for designing and using microprocessors can be steep. Why is this so?
Complex: Microprocessors have many complex features. features The specification sheets can often fill entire books. Numerous features are provided to satisfy a wide variety of users. Non-intelligent: Microprocessors are completely unforgiving when program errors are made. They will execute exactly what is in the program, and have no common sense or intuition about what the designer intended the program to do. Hard to debug: Debugging tools for microprocessor assembly l language programs are usually ll primitive i iti compared d to t the th tools t l available for programs in high-level languages.
Lecture 1
14
02/09/2013
Microprocessor-related Terms
A microcontroller is an integrated circuit that contains a microprocessor as well as other useful support circuits, such at timers, memory, input/output interface circuits, etc. A microcomputer is a computer system that has been built around a microprocessor chip. The ECE212 lab microcomputer system contains the MCF5441x microprocessor chip. A digital signal processor (DSP) is a specialized microprocessor that has features (e.g. instructions, registers, internal signal g paths, p , arithmetic circuits) ) that make it particularly efficient at performing the kinds of numericallyintensive calculations that are required in digital signal processing (e.g. in modems and cell phones).
Lecture 1
15
Microprocessor Families
Microprocessor manufacturers tend to release microprocessors in families of increasing complexity and performance.
4004 (1971), ( ) 8008 (72), ( ) 8080 (74) ( ) x86 family: 8086 (78), 8088 (79), 80186 (82), 80286 (82), 80386 (85), 80486 (89), Pentium (93), Pentium II (97), Pentium III (99), Pentium 4 (00), Xeon (01), Centrino (03), Intel Core 2 (06), Core i7 (08) IA-64 family: Itanium (2000) 6800 family: 6800 (1974), 6809 (79), 68HC11 (84) M68000 family: 68000 (1979), 68010 (82), 68020 (84), 68030 (87), 68040 (89), 68332 (89), Power PC, ColdFire (Freescale, 94) Athlon (01), Opteron (AMD64, 03), Athlon64 (03), Sempron (04), Turion (64bit for laptop, 05), Athlon64 (dual, 05)
Intel Corp.:
Motorola, Inc.:
Microprocessor families make it easier to carry software over from an older mP to the latest mP. Upward compatibility is an important strategy for building customer loyalty.
16
Lecture 1
02/09/2013
Freescale ColdFire: microprocessors deriving from the Motorola 68000 family architecture, by Freescale Semiconductor, which was formerly the semiconductor division of Motorola.
Lecture 1
17
Development Kit
Lecture 1
18