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 PortalCOMP3137Introduction Computer …
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
    4 min read
    Topic 1 of 73
    Topic Study Note Illustration
    01

    Introduction to Computer Organization

    Computer Organization refers to the way a computer system's components are arranged and how they interact to perform tasks. It's essentially the hardware structure of a computer,...

    Introduction to Computer Organization

    Computer Organization refers to the way a computer system's components are arranged and how they interact to perform tasks. It's essentially the hardware structure of a computer, which includes all the physical components such as the CPU (Central Processing Unit), memory, input/output devices, and how they work together to execute programs.

    Here's an easy breakdown of what this entails:

    1. Basic Components of a Computer System:

    • CPU (Central Processing Unit): The "brain" of the computer, which performs calculations, controls operations, and manages data flow. The CPU is made up of several smaller parts:

      • ALU (Arithmetic Logic Unit): Performs arithmetic (e.g., addition, subtraction) and logical operations (e.g., comparisons).
      • Control Unit: Directs the operation of the processor by interpreting and executing instructions from the memory.
      • Registers: Small, fast storage locations inside the CPU used to hold data that is being processed.
    • Memory (Primary Storage): This is where the computer stores data and instructions that are actively being used. It includes:

      • RAM (Random Access Memory): Temporary storage that the CPU uses to store data and instructions that are currently being executed. It’s fast but volatile, meaning it loses its data when the computer is powered off.
      • Cache: A small, very fast memory that stores frequently accessed data to speed up processing.
    • Input and Output Devices (I/O): These devices allow the computer to interact with the outside world. Common input devices are the keyboard and mouse, while output devices include monitors and printers.

    • Bus: A system of wires that allows data to travel between components (like the CPU, memory, and I/O devices). The bus can carry data, addresses, and control signals.

    2. How Does the CPU Work?

    The CPU performs its tasks by following a series of instructions stored in memory. These instructions are typically written in machine language or assembly language, and they tell the CPU what to do. The process of executing instructions generally follows these steps:

    • Fetch: The CPU retrieves an instruction from memory.
    • Decode: The CPU decodes the instruction to understand what operation it needs to perform.
    • Execute: The CPU performs the operation, whether it's a calculation, data transfer, or other tasks.
    • Store: If necessary, the result is written back to memory or sent to an output device.

    3. Instruction Set Architecture (ISA):

    The Instruction Set Architecture defines the set of instructions the CPU can understand and execute. It is like a blueprint for programming the CPU. These instructions are typically written in assembly language or machine code. The ISA determines how software communicates with the hardware.

    4. Von Neumann vs. Harvard Architecture:

    • Von Neumann Architecture: In this model, the CPU shares the same memory space for both instructions and data. This means that the CPU fetches instructions and data from the same memory area, which can sometimes cause delays (called the "Von Neumann bottleneck").

    • Harvard Architecture: Here, the CPU has separate memory for instructions and data, allowing the CPU to access both simultaneously, improving performance. This is often used in specialized systems like embedded devices.

    5. Bus Architecture:

    The bus is a collection of pathways used to transmit data, addresses, and control signals between components. A computer typically has different types of buses, like:

    • Data Bus: Carries data between the CPU and memory or I/O devices.
    • Address Bus: Carries addresses to specify where data should be read from or written to.
    • Control Bus: Carries control signals to coordinate the operations of different parts of the computer.

    6. Understanding the Concept of "Word" in Computer Organization:

    A word refers to the standard unit of data used by a computer's CPU. A word can be 16 bits, 32 bits, or 64 bits long, depending on the architecture of the computer system. The word size often determines the CPU's performance and the amount of memory it can address.


    Summary:

    In simple terms, Computer Organization is all about understanding how the physical parts of a computer (like the CPU, memory, and buses) are arranged and how they communicate with each other to execute tasks. It's the "behind-the-scenes" setup that allows software to run and make computers work efficiently.

    The key takeaway is that computer organization is concerned with the hardware and how it processes, stores, and moves data to perform operations. The goal of understanding computer organization is to design and optimize systems for better performance, efficiency, and speed.

    Next topic 2 →
    Assembly Language

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    4mremaining
    724words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Computer Organization and Assembly Language