Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
ECE 301 – Digital Electronics Memory (Lecture #21)
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
Chapter 5 Internal Memory
IT Systems Memory EN230-1 Justin Champion C208 –
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
Data Storage Technology
Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Logic Device and Memory. Tri-state Devices Tri-state logic devices have three states: logic 1, logic 0, and high impedance. A tri-state device has three.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Physical Memory By Gregory Marshall. MEMORY HIERARCHY.
Memory Hierarchy.
Memory and I/O Interfacing
Introduction to Computing: Lecture 4
COMP3221: Microprocessors and Embedded Systems
TEJ3M Teacher: Ms. Luce Name: Alex H. Date: February 18th 2010
Memory Technology and Interfacing. Stored Program Model Memory Output Input CPU Stored-program computer model.
Chapter 5 Internal Memory. Semiconductor Memory Types.
3-1-1 Chapter 3 Memory and Memory Interfacing Section 3.01 Semiconductor Memory Fundamentals In the design of all computers, semiconductor memories are.
Chapter 8 Memory Interface
Internal Memory.
Chidambaranathan C.M SRM University,Haryana. Memory:- As the word implies “memory” means the place where we have to store any thing, this is very essential.
CIM101 : Introduction to computer Lecture 3 Memory.
Computer Architecture And Organization UNIT-II Structured Organization.
INTRODUCTION  Major advantage of digital over analog is the ability to easily store large quantities of digital information and data.  Memory – store.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
MEMORY INTERFACE (ROMS, RAMS). Computer Memory Overview.
Copyright © 2007 – Curt Hill Primary Memory and Electronic Storage Implementations.
Memory 1 ©Paul Godin Created March 2008 Edit April 2011.
ECE 265 – LECTURE 3 68HC11 Address Space, Memory, Registers, and data transfers 3/29/ ECE265.
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
Architectural Considerations A Review of Some Architectural Concepts.
8085 FAQ R.RAJKUMAR DEPT OF CSE SRM UNIVERSITY. FAQ What is a Microprocessor? - Microprocessor is a program-controlled device, which fetches the instructions.
STATUS REGISTER  It is a group of flip-flops. But it is not used to store data.  Each bit in the status register is used to indicate a particular condition.
Objectives : At the end of this lesson, students should be able to : i.Identify the types of memory chip and their functions. ii.Define the difference.
CH (5) Computer Organization
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Chapter 2 content Basic organization of computer What is motherboard
COMP2121: Microprocessors and Interfacing
Memory and Programmable Logic
Computer Organization
MEMORY.
Unit 1 PRIMARY STORAGE DEVICES LECTURE – 7
Internal Memory.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Module IV Memory Organization.
Introduction of microprocessor
introduction to computer
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Primary Storage and Secondary Storage Devices Chapter 3
Memory chips Memory chips have two main properties that determine their application, storage capacity (size) and access time(speed). A memory chip contains.
Electronics Technology
COMPUTER ORGANISATION AND ARCHITECTURE
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
Architecture & Support Components
Computer Memory BY- Dinesh Lohiya.
Introduction to Computing Chapter 0
EE6502/MPMC/UNIT II/STACK AND SUBROUTINE/T.THARANKUMAR
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 5 Computer Organization
Semiconductor memories are classified in different ways. A distinction is made between read-only (ROM) and read-write (RWM) memories. The contents RWMs.
Computer Memory.
Presentation transcript:

Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory. 1

8085 Interfacing Pins 8085 Higher Address Bus Lower Address/Data Bus ALE READY A 15 – A 8 AD 7 – AD 0 2

Address Bus of 8085 Address Bus – Used to address memory & I/O devices – 8085 has a 16-bit address bus A 15 A 14 A 13 A 12 A 11 A 10 A9A9 A8A8 AD 7 AD 6 AD 5 AD 4 AD 3 AD 2 AD 1 AD 0 Lower-order AddressHigher-order Address Data Bus Used to transfer instructions and data 8085 has a 8-bit data bus Data Bus 3

Memory Interface The memory is made up of semiconductor material used to store the programs and data. The types of memory is, – Primary or main memory – Secondary memory 4

Primary Memory RAM and ROM are examples of this type of memory. Microprocessor uses it in storing a program temporarily (commonly called loading) and executing a program. Hence the speed of this type of memory should be fast. 5

Secondary Memory These are used for bulk storage of data and information. The main examples include Floppy, Hard Disk, CD-ROM, Magnetic Tape etc. Slower and Sequential Access Nature. non-volatile nature. 6

Memory Mapped IO It considers them like any other memory location. – They are assigned a 16-bit address within the address range of the – The exchange of data with these devices follows the transfer of data with memory. The user uses the same instructions used for memory. 7

IO Mapped IO It treats them separately from memory. – I/O devices are assigned a “port number” within the 8-bit address range of 00H to FFH. – The user in this case would access these devices using the IN and OUT instructions only. 8

IO mapped IO V/s Memory Mapped IO Memory Mapped IO IO is treated as memory. 16-bit addressing. More Decoder Hardware. Can address 2 16 =64k locations. Less memory is available. IO Mapped IO IO is treated IO. 8- bit addressing. Less Decoder Hardware. Can address 2 8 =256 locations. Whole memory address space is available. 9

IO mapped IO V/s Memory Mapped IO Memory Mapped IO Memory Instructions are used. Memory control signals are used. Arithmetic and logic operations can be performed on data. Data transfer b/w register and IO. IO Mapped IO Special Instructions are used like IN, OUT. Special control signals are used. Arithmetic and logic operations can not be performed on data. Data transfer b/w accumulator and IO. 10

Basic RAM Cell RAM is a type of computer memory that can be accessed randomly i.e. any location can be accessed any time within chip. It is most common type of memory found in computers, printers etc. It is basically of two types: – SRAM – DRAM 11

SRAM SRAM stands for Static Random Access Memory. This memory is made up of flip-flops and stores the bit as a voltage. Each cell requires 6 transistors hence chip has low density but high speed. More expensive and consumes more power. Often known as cache memory in high speed PCs. 12

Basic SRAM Cell 13

DRAM DRAM stands for Dynamic Random Access Memory. This memory is made up of MOS transistor gates and it stores the bit as charge. High density, low power consumption, cheap as compared to SRAM. Due to leakage of charge requires frequent refreshing and hence extra circuitry. 14

Basic DRAM 15

ROM ROM is a read only memory. It retains the information even if power is turned off. It contains permanently stored instructions that help in staring up of a computer e.g. BIOS or Basic Input Output System. These are of following three basic types – PROM, EPROM, EEPROM 16

PROM The Programmable Read Only Memory can be programmed only once in its lifetime. Information once stored can not be erased. Requires special hardware circuit to program it. 17

EPROM Stands for Erasable Programmable Read Only Memory. These ROMs can be erased and programmed again and again. Can be erased with UV light or electricity. Main disadvantage is that it takes 15 to 20 minutes to erase it. 18

EEPROM Stands for Electrically Erasable Programmable Read Only Memory. Information can be erased electrically at register level rather than erasing entire information. It requires lesser erasing time. 19

Stack It is a part of memory, reserved in RAM, used to temporarily store information during execution of program. Starting address of stack is loaded in “Stack Pointer (SP)” (a 16-bit register). The address pointed to by SP is known as “Top of Stack”, which is always an empty memory location. 20

Stack Initialization Stack can be defined anywhere in RAM. But generally it initialized from highest (end) address of RAM to avoid any data loss. FFFFH F000H 0000H STACK MEMORY SP = FFFFH TOP OF STACK 21

Size of Stack Memory Theoretically there is no limitation on the size of stack memory. Practically the size of stack memory is limited to the availability of free RAM. As RAM is used to store temporarily program and data during execution, hence only free RAM can be used as stack. 22

Storing Data on Stack Stack is Last-In-First-Out (LIFO) type of memory. When information is stored on stack, the Stack Pointer register decrements to point to lower empty address. When information is read from stack, the Stack Pointer register increments to point to higher empty address. 23

Animation Stack Memory FFFF FFFE FFFD FFFC FFFB FFFA FFF STACK MEMORY PUSH B Stack Pointer PUSH C POP B POP C 52 H B= 52 H FFFF HFFFE H 35 H C = 35 H FFFD H 35 H 52 H 24

Advantages of Stack Address is always in Stack Pointer, need not be part of instruction, therefore, stack access is always faster. Stack instructions are short with only one operand. Used to save important data before branch instruction e.g. jump or interrupt instruction. 25