ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCOMP3137Basic Memory Organizat…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    COMP3137

    Computer Organization and Assembly Language

    Progress0 / 73 done
    Topics73
    1Introduction to Computer Organization2Assembly Language3Comparison of Low-Level and High-Level Languages
    4General Purpose and Special Purpose Registers5Introduction and Usage of RAM6Processor7Registers8System Bus9Instruction Execution Cycle10Assembly and Machine Language11Assembler12Linker and Link Libraries13Programmer's View of a Computer System14RISC and CISC Architecture15Physical Address Calculation16Basic Memory Organization17CPU Organization18Top Level View of Computer Function and Interconnection19Assembler Instruction Cycle20Execute Cycle21Interrupts22Interrupt Cycle23Memory Connection24Input/Output Connection25CPU Connection26MASM27MIPS28Defining Data in MASM Assembler29Elements of Assembly Language30Integer Constants31Integer Expressions32Real Number Constants33Character Constants34String Constants35Reserved Words36Identifiers37Directives38Instructions39The NOP (No Operation) Instruction40Adding and Subtracting Integer41INC and DEC Instructions42NEG Instruction43How to Move Integer Number in Register44Adding and Subtracting Numbers in Registers45Declaration and Initialization of Variables46Moving Data from Variable to Register47Data Definition Statement48BYTE and SBYTE Data49WORD and SWORD Data50Defining DWORD and SDWORD Data51Knowledge about Different Data Types52Operations, Array & Loops53Division and Multiplication in Assembly54Jumps Based on Specific Flags55Jumps Based on Equality56Simple Jump Statements57Jumps Based on Specific Condition58Code Examples59Practice on MASM60Procedures61File Operations Procedures62Labels in Procedures63Stack64Runtime Stack65Conditional Control Flow Directives66Compound Expressions67Data Representation & Conversion68Architecture69Data Path70Control Unit71Critical Path72General Principles of Pipelining73Pipelined Y86 Implementations
    3 min read
    Topic 16 of 73
    Topic Study Note Illustration
    16

    Basic Memory Organization

    Memory organization refers to how memory is structured and managed in a computer system. It involves how different types of memory (like RAM, ROM, and cache) are...

    Basic Memory Organization

    Memory organization refers to how memory is structured and managed in a computer system. It involves how different types of memory (like RAM, ROM, and cache) are organized, how data is stored and accessed, and how the CPU interacts with memory during program execution.

    Understanding basic memory organization is crucial for optimizing computer performance, managing resources, and designing systems effectively.

    In this explanation, we’ll cover the basic components of memory organization, how memory is typically structured, and the key concepts involved in accessing and managing memory.


    1. Types of Memory

    Memory in a computer can be divided into several types based on its functionality, speed, and volatility:

    Primary Memory (Volatile Memory)

    Primary memory is used to store data that is actively being processed by the CPU. It is volatile, meaning it loses all stored data when the power is turned off.

    • RAM (Random Access Memory):

      • Main memory used by programs during execution.
      • Stores program code, data, and stack information.
      • Two common types of RAM are:
        • Dynamic RAM (DRAM): Slower and cheaper, requires periodic refreshment.
        • Static RAM (SRAM): Faster, more expensive, and doesn't require refreshing.
    • Cache Memory:

      • A smaller, faster type of memory placed closer to the CPU to speed up data access by temporarily storing frequently accessed data.
      • Cache is typically divided into multiple levels (L1, L2, L3). L1 is the fastest and located closest to the CPU, while L2 and L3 are larger and slower but still faster than main memory.

    Secondary Memory (Non-Volatile Memory)

    Secondary memory is used for long-term data storage and retains data even when the power is off.

    • Hard Disk Drives (HDD): Mechanical storage devices used for large-scale data storage.
    • Solid-State Drives (SSD): Faster than HDDs because they use flash memory instead of mechanical components.
    • Optical Disks (CD/DVD), USB drives, and other forms of storage are also considered secondary memory.

    Tertiary and Off-line Storage

    • These are storage systems used for archival or backup purposes, such as tape drives or cloud storage. These are not used directly by the CPU but may be accessed for data retrieval when needed.

    2. Memory Addressing

    Memory addressing refers to how the memory locations are identified and accessed. Each byte of memory is assigned a unique address, and the CPU uses these addresses to read from or write to specific locations in memory.

    Types of Memory Addressing:

    1. Physical Addressing: Refers to the actual address in the physical memory (RAM).
    2. Logical/Virtual Addressing: Refers to the address generated by the CPU when executing a program. Virtual addresses
    ← Previous topic 15
    Physical Address Calculation
    Next topic 17 →
    CPU Organization

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    3mremaining
    433words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Computer Organization and Assembly Language