Sunday, 3 June 2018

Memory - How To Works A Microprocessors Memory Stored System!!

Memory - Microprocessors Memory Stored System!!! 

Memory Storage System In Microprocessor And The Execute Program System

• Memory stores information such as instructions  and data in binary format
 (0 and 1). It provides this information to the microprocessor whenever  it is needed.
• Usually, there is a memory “sub-system” in a Microprocessor -based system. This sub-system includes:
– The registers inside the Microprocessor
– Read Only Memory (ROM)

• used to store information that does not change.
– Random Access Memory (RAM) (also known as Read/Write Memory).
• used to store information supplied by the user. Such as programs and data.

Memory Map and Addresses

• The Memory map is a picture representation of the address range and shows where the different memory chips are located within the address range.


• To execute a program:

– the user enters its instructions in binary format into the memory.
– The Microprocessor then reads these instructions and  whatever data is needed from memory, executes the instructions and places the results either in Memory or
produces it on an output device.

The three cycle instruction 
execution model

• To execute a program, the Microprocessor “reads” each instruction from Memory, “interprets” it, then  “executes” it.
• To use the right names for the cycles:
– The Microprocessor fetches each instruction,
– decodes it,
– Then executes it.

• This sequence is continued until all instructions are performed.