registers: general-purpose and special-purpose. general purpose serve as temporary holding places for data being manipulated by the CPU.

Similar documents
Central Processing Unit

Central Processing Unit (CPU)

Microprocessor & Assembly Language

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

MICROPROCESSOR AND MICROCOMPUTER BASICS

CHAPTER 7: The CPU and Memory

Computer Organization. and Instruction Execution. August 22

CPU Organisation and Operation

CPU Organization and Assembly Language

Let s put together a Manual Processor

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

MACHINE ARCHITECTURE & LANGUAGE

Building a computer. Electronic Numerical Integrator and Computer (ENIAC)

CHAPTER 4 MARIE: An Introduction to a Simple Computer

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

(Refer Slide Time: 00:01:16 min)

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

PART B QUESTIONS AND ANSWERS UNIT I

LSN 2 Computer Processors

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Systems I: Computer Organization and Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture

Addressing The problem. When & Where do we encounter Data? The concept of addressing data' in computations. The implications for our machine design(s)

İSTANBUL AYDIN UNIVERSITY

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

COMPUTER ARCHITECTURE. Input/Output

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

TIMING DIAGRAM O 8085

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers

Computer organization

Computer Organization & Architecture Lecture #19

Computer Architecture Lecture 2: Instruction Set Principles (Appendix A) Chih Wei Liu 劉 志 尉 National Chiao Tung University

The Central Processing Unit:

1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12

A s we saw in Chapter 4, a CPU contains three main sections: the register section,

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals

Programming Logic controllers

Chapter 1 Computer System Overview

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Microprocessor and Microcontroller Architecture

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Computer Systems Structure Input/Output

Quiz for Chapter 6 Storage and Other I/O Topics 3.10

OVERVIEW OF MICROPROCESSORS

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

TYPES OF COMPUTERS AND THEIR PARTS MULTIPLE CHOICE QUESTIONS

Automating witfi STEP7 in LAD and FBD

Automating with STEP7 in LAD and FBD

Instruction Set Architecture. Datapath & Control. Instruction. LC-3 Overview: Memory and Registers. CIT 595 Spring 2010

Data Cables. Schmitt TTL LABORATORY ELECTRONICS II

An Overview of Stack Architecture and the PSC 1000 Microprocessor

Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

1. Computer System Structure and Components

An Introduction to Computer Science and Computer Organization Comp 150 Fall 2008

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

Chapter 13. PIC Family Microcontroller

Traditional IBM Mainframe Operating Principles

EMBEDDED SYSTEM BASICS AND APPLICATION

8051 hardware summary

Instruction Set Architecture

8051 MICROCONTROLLER COURSE

BASIC COMPUTER ORGANIZATION AND DESIGN

Levels of Programming Languages. Gerald Penn CSC 324

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

Z80 Microprocessors Z80 CPU. User Manual UM Copyright 2014 Zilog, Inc. All rights reserved.

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180B Lab 7: MISP Processor Design Spring 1995

A3 Computer Architecture

Basic Computer Organization

Storage. The text highlighted in green in these slides contain external hyperlinks. 1 / 14

Computer Systems Design and Architecture by V. Heuring and H. Jordan

Central Processing Unit Simulation Version v2.5 (July 2005) Charles André University Nice-Sophia Antipolis

Administrative Issues

1 Classical Universal Computer 3

CHAPTER 3 Boolean Algebra and Digital Logic

VHDL DESIGN OF EDUCATIONAL, MODERN AND OPEN- ARCHITECTURE CPU

Instruction Set Architecture (ISA)

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Intel StrongARM SA-110 Microprocessor

1 Computer hardware. Peripheral Bus device "B" Peripheral device. controller. Memory. Central Processing Unit (CPU)

The WIMP51: A Simple Processor and Visualization Tool to Introduce Undergraduates to Computer Organization

PROBLEMS. which was discussed in Section

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED

Summary of the MARIE Assembly Language

Operating Systems Overview

What You Will Learn About. Computers Are Your Future. Chapter 8. Networks: Communicating and Sharing Resources. Network Fundamentals

Timer A (0 and 1) and PWM EE3376

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Transcription:

2.1 Operations are performed via the CPU, central processing unit. It consists of two parts: the arithmetic/logic unit or ALU(performs data manipulation) and the control unit or CU(coordinates the machine s activities). registers: general-purpose and special-purpose. general purpose serve as temporary holding places for data being manipulated by the CPU. cache memory is a section of high-speed memory with response times similar to that of the CPU s registers, often located within the CPU itself. bus: collection of wires connecting a machine s CPU and main memory. machine instructions: a short list of well-chosen tasks. Three categories: Data Transfer: movement of data from one location to another. LOAD memory -> gpr STORE gpr -> memory Arithmetic/Logic: instructions that tell the CU to request an activity within the ALU. examples: AND, OR, XOR, SHIFT & ROTATE Control: instructions that direct the execution of the program rather than the manipulation of data. examples: JUMP, BRANCH, IF-THEN 2.2 stored-program concept: the CU is designed to extract the program from memory, decode the instructions, and execute them. machine-language: collection of instructions along with the coding system. machine instructions typically consist of 2 parts: the op-code field and the operand field. op-code field: operation (STORE, SHIFT, XOR, JUMP) operand field: information about what the operation is being performed on. 2.3 A computer follows a program stored in its memory by copying the instructions from memory into the control unit as needed. PC or program counter contains the address of the next instruction to be executed. IR or instruction register is used to hold the instruction being executed.

The CU performs its job by continually repeating an algorithm, the machine cycle. 3 steps: fetch, decode, and execute. clock is used to synchronize various circuits and coordinate the activities in the machine cycle. 2.4 10001000 AND OR XOR 11011011 01010011 masking: example subnet mask Shifts can be to the left or right. circular shift is also called a rotation. logical shift is a technique that discards the bit that falls of the edge and always fills the hole with a 0. arithmetic shifts leave the sign bit unchanged. 2.5 Communication between a machine and other devices is normally handled through an intermediary device known as a controller. It converts messages and data back and forth between forms compatible with the internal characteristics of the machine and those of the peripheral device to which it is attached. Often small computers within themselves. Connects to the same bus that connects the machine s CPU and main memory. DMA, direct memory access, the ability of a controller to access main memory. Increases performance. buffer is any location where one system leaves data to be picked up later by another The central bus can become an impediment, known as the von Neumann bottleneck, as the CPU and the controllers compete for bus access. Can use the same op-codes. The main memory circuitry is designed to ignore references to particular memory locations while the controller is designed to respond to references to those locations. This is called memory-mapped I/O because the machine s input/output devices appear to be in various memory locations, and the memory addresses assigned to a controller in this manner are collectively called a port in that they represent a location through which information enters and leaves the machine. status word: a bit pattern that is generated by the peripheral device and sent to the controller. The bits in the status word reflect the conditions of the device.

The rate in which bits are transferred from one computing component to another is measured in bits per second (bps). Kbps, Mbps, Gbps. parallel communication: several bits are transferred at the same time, each on a separate line. Mbps and higher serial communication: is based on transferring only one bit at a time. simpler, slower. All bits are transferred over the same line, on after the other. modem short for modulater-demodulater. To achieve higher transfer rates, modems combine combine changes in a tone s frequency, amplitude (volume), and phase (the degree to which the transmission of the tone is delayed). Also, data compression techniques are often applied to produce apparent trnansfer rates of up to 57.6 kbps.