TUTORIAL Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design.

Similar documents
Three-box Model: These three boxes need interconnecting (usually done by wiring known as a bus. 1. Processor CPU e.g. Pentium 4 2.

Computer Organization

Components of a personal computer

Introduction to Microcontrollers


What is the typical configuration of a computer sold today? 1-1

Topics. Hardware and Software. Introduction. Main Memory. The CPU 9/21/2014. Introduction to Computers and Programming

Chapter One. Introduction to Computer System

Unit - II. Computer Concepts and C Programming 06CCP13. Unit II

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Chapter Two. Hardware Basics: Inside the Box

Homeschool Enrichment. The System Unit: Processing & Memory

Chapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.

Introduction to Microprocessor

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

Memory & Simple I/O Interfacing

CSC 101 Questions: Chapter 1: Multiple Choice: 1. When did the World Wide Web become available to users? a. 1960s b. 1970s c. 1980s d.

ELEG3923 Microprocessor Ch.0 & Ch.1 Introduction to Microcontroller

Computers and Microprocessors. Lecture 34 PHYS3360/AEP3630

HARDWARE. There are a number of factors that effect the speed of the processor. Explain how these factors affect the speed of the computer s CPU.

Elementary Computing CSC M. Cheng, Computer Science 1

Computer Architecture 2/26/01 Lecture #

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

Computer Organization

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Name: Date: Hour: The abacus (still in use today) is about 5,000 years old. Not a computer.

A Review of Chapter 5 and. CSc 2010 Spring 2012 Instructor: Qian Hu

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

THE MICROCOMPUTER SYSTEM CHAPTER - 2

C H A P T E R 1. Introduction to Computers and Programming

An Overview of the Computer System. Kafui A. Prebbie 24

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER

EMBEDDED SYSTEM BASICS AND APPLICATION

Intentionally Blank 0

System Unit Components Chapter2

Computers Are Your Future

Introduction to a Typical PC. Freedom High School

SSRVM Content Creation Template

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

ECE Lab 8. Logic Design for a Direct-Mapped Cache. To understand the function and design of a direct-mapped memory cache.

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Chapter 02: Computer Organization Functional units and components in a computer organization Part 3 Bus Structures

VISUAL SUMMARY. The System Unit

Computer Architecture

Computers Are Your Future

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

SYSTEM BUS AND MOCROPROCESSORS HISTORY

COSC 122 Computer Fluency. Computer Organization. Dr. Ramon Lawrence University of British Columbia Okanagan

Segment 1A. Introduction to Microcomputer and Microprocessor

Chapter 1 Computer and Programming. By Zerihun Alemayehu

Microprocessor. Dr. Rabie A. Ramadan. Al-Azhar University Lecture 1

COMPUTER AWARENESS. 1) 1.A normal CD-ROM usually can store up to... 1) 680 KB. 2) 680 Bytes 3) 680 MB 4) 680 GB

Chapter 5: Computer Systems Organization. Invitation to Computer Science, C++ Version, Third Edition

Chapter 5: Computer Systems Organization

Memory Study Material

INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY (ICT) LECTURE 2 : WEEK 2 CSC-111-T

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Computer Overview. A computer item you can physically see or touch. A computer program that tells computer hardware how to operate.

Introduction to Computers - Chapter 4

Introduction to Computers. Joslyn A. Smith

HARDWARE AND OPERATING SYSTEMS

Downloaded from various sources on the NET

Chapter 2 Logic Gates and Introduction to Computer Architecture

15/09/15. Introduction to Computers & The Internet. Contents. Computer hardware and software. Input and output devices CPU. Memory.

EET2411 DIGITAL ELECTRONICS. A device or electrical circuit used to store a single bit (0 or 1) Ex. FF.

ECE 1160/2160 Embedded Systems Design. Midterm Review. Wei Gao. ECE 1160/2160 Embedded Systems Design

Computer Architecture and Assembly Language. Spring

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

Zimmer CSCI /24/18. CHAPTER 1 Overview. COMPUTER Programmable devices that can store, retrieve, and process data.

Chapter 9: A Closer Look at System Hardware

Chapter 9: A Closer Look at System Hardware 4

Computer Architecture

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

Fig 1. Block diagram of a microcomputer

Management Information Systems OUTLINE OBJECTIVES. Information Systems: Computer Hardware. Dr. Shankar Sundaresan

1. A folder inside a folder is called. a) Mini Directory b) Sub Directory c) Root Folder d) Child Folder e) None of these

ZONAL EDUCATION OFFICE - JAFFNA

Computer Architecture Dr. Charles Kim Howard University

CC411: Introduction To Microprocessors

Microprocessors/Microcontrollers

Chapter 4 The Components of the System Unit

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language

Parts of the Computer System. Parts of the Computer System. Parts of the Computer System. Essential Computer Hardware. Information Processing Cycle

Q1. Describe C.P.U and its subunits with the help of diagram?

CS 101, Mock Computer Architecture

Arithmetic/logic Unit (ALU)

2011 Francisco Delgadillo

1 Digital tools. 1.1 Introduction

Ms. Minerva A. Lagarde

Computer Hardware and Software Introduction. Mr. Smith AP Computer Science A

Chapter 2. Prepared By: Humeyra Saracoglu

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

An Introduction to Computers and Java CSC 121 Spring 2015 Howard Rosenthal

Motherboard BIOS. Fig: 1 What you see (or something similar) if you turn the PC manufacturer's logo off

COMPUTER ORGANIZATION & SKILLS

Chapter 1 : Introduction

Electricity: Voltage. Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal.

Microprocessors And Microcontroller

Computer Organization and Assembly Language (CS-506)

Transcription:

TUTORIAL 1 1. Make a list of 10 products containing microprocessors that we use everyday. Personal computer Television Calculator Elevator Mobile phones MP3 players Microwave ovens DVD players Engine Control Unit (ECU) inside automobiles. Air conditioners. Digital Camera/ Video Camera. 2. Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design. The choice between microprocessor-based or hard-wired design depends on the desired circuit functionality and cost. If a simple digital system needs to be built, it is probably better to use several ICs to design them as they would be cheaper compared to microprocessor systems. However, if the system is very complicated (it has to perform many types of functions), than it is probably better to use a microprocessor-based system. This is because such complex systems may require a lot of ICs, making the circuit very large, complex and expensive. Using microprocessor-based systems, all the ICs can be replaced with only one microprocessor that performs the similar task, thus reducing the cost, as well as the overall size of the circuit.

3. In a 8-bit microprocessor system, how many lines are in the data bus? The address bus? What about 16-bit microprocessor systems? In a microprocessor, the lines in the data bus are indicated by the microprocessor bit. For example, a 32-bit microprocessor can transfer 32-bits at one read/write. Therefore, the microprocessor contains 32 data lines. In an 8-bit microprocessor, the microprocessor can process 8-bits at a time; therefore it has 8 data lines. Following the same rule, a 16-bit microprocessor has 16 data lines. There are no set rules that define the size of the address bus. The number of address lines depends on the required application of the microprocessor and the development of memory chip technology. During the 1970 s, 16-line address buses were used for 8-bit microprocessors (64 kb max). Due to improvements in memory technology and increase in PC program requirements, (from 1980 s to now), 32-bit address bus is the most common for 16-bit to 32-bit microprocessors (4 GB max). 4. How many different addresses can be accessed using the 16-bit address bus? The maximum memory that can be addressed ( y ) can be calculated using x y = 2, where x is the number of address lines. Therefore, for a 16-bit address bus, the maximum memory that can be addressed is 65,536 bytes (64kB).

5. Draw a block diagram for a computerized cash register. The hardware should include a numerical display, a keyboard, and a compact printer. Block diagram of computerized cash register. 6. Explain the meaning of software, hardware and firmware. Hardware is a physical electronic circuit that is attached to the microprocessor to perform specific tasks. Hardware is created by physically wiring different electronic components. When properly connected to a power supply, it performs its function when activated by the microprocessor. To remove the hardware, it must be physically disconnected from the microprocessor system. Software is a collection of binary codes (instructions) that tell the microprocessor to perform specific tasks. Software is created by programming, where programs are typed into a computer, and converted to machine code using an assembler or compiler. It is then loaded into memory (RAM) and executed by the microprocessor. To stop the software from executing, the binary codes have to be cleared from memory. Firmware is a cross between software and hardware. Like software, instructions are encoded in binary format. But, unlike software, these

instructions are not loaded into RAM, but burned into Read-Only Memory (ROM) chips. These chips are physically embedded into a microprocessor system, similar to hardware. To remove the firmware, the ROM must be removed from its slot, and replaced with ROM containing new instructions. 7. Name the major components in a microcomputer system and describe the functions of each. The microcomputer system (PC) consists of several components: Microprocessor (CPU): performs all arithmetic and logical operations inside the computer. It loads the instructions from memory and executes them. Also controls data transfer inside the system bus. Memory: stores instructions and data for the CPU. Consists of RAM (Random Access Memory) and ROM (Read Only Memory). I/O: Input/output devices that interact with the user. Examples: keyboard, mouse, video display. System bus: a set of electrical connections that connects all components in the microcomputer. Supporting circuitry: circuitry to activate/deactivate components, access memory, and perform error checking. 8. What is system bus? Discuss the signals that must be available for an effective bus operation. The system bus is a set of electrical connections that connects all components in the microcomputer. The system bus consists of three types of lines: data lines, address lines, and control lines. The data lines carry data between components and the CPU. The address lines are used to carry the memory address that the CPU wants to access. The control lines carry information that controls data transfer, device interfacing and error checking tasks. All these signals are required for an effective bus operation.

9. Describe the microprocessor execution cycle. The microprocessor execution cycle is a series of steps performed by the microprocessor during its run-time. It consists of three steps (fetch, decode and execute), which are repeated in an endless loop. The first step is the fetch cycle. The fetch cycle is responsible to get information from the memory and load it into the microprocessor. The second step is the decode cycle. The decode cycle analyzes the instructions and locates any other necessary data to perform the operation. Finally, in the execute cycle, the necessary data is loaded into the microprocessor, and the instruction is executed. After the instruction is executed, the cycle repeats with another fetch cycle to load the next instruction. 10. Describe the difference between a microcomputer and a microprocessor. The major difference between the microprocessor and microcomputer is that the microprocessor is a single device that processes data, while the microprocessor is the system built around the microprocessor to support its data-processing abilities. A microprocessor is an electronic device made from a silicon wafer, where tiny transistors are etched onto its surface. The microprocessor has an instruction set, which allows it to perform arithmetic, logical and control operations. However, the microprocessor cannot process data by itself. A microcomputer is a complete computing system built around such a microprocessor. Since it is a complete system, other than the microprocessor, the microcomputer must also include memory, I/O system, power supply and supporting circuitry for proper operation.