ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Computer Organization and Assembly Language
    COMP3137
    Progress0 / 73 topics
    Topics
    1. Introduction to Computer Organization2. Assembly Language3. Comparison of Low-Level and High-Level Languages4. Register Types (16-bit): General Purpose and Special Purpose Registers5. Introduction and Usage of RAM6. Processor7. Registers8. System Bus9. Instruction Execution Cycle10. Assembly and Machine Language11. Assembler12. Linker and Link Libraries13. Programmer's View of a Computer System14. RISC and CISC Architecture15. Physical Address Calculation16. Basic Memory Organization17. CPU Organization18. Top Level View of Computer Function and Interconnection19. Assembler Instruction Cycle20. Execute Cycle21. Interrupts22. Interrupt Cycle23. Memory Connection24. Input/Output Connection25. CPU Connection26. MASM27. MIPS28. Defining Data in MASM Assembler29. Elements of Assembly Language30. Integer Constants31. Integer Expressions32. Real Number Constants33. Character Constants34. String Constants35. Reserved Words36. Identifiers37. Directives38. Instructions39. The NOP (No Operation) Instruction40. Adding and Subtracting Integer41. INC and DEC Instructions42. NEG Instruction43. How to Move Integer Number in Register44. Adding and Subtracting Numbers in Registers45. Declaration and Initialization of Variables46. Moving Data from Variable to Register47. Data Definition Statement48. BYTE and SBYTE Data49. WORD and SWORD Data50. Defining DWORD and SDWORD Data51. Knowledge about Different Data Types52. Operations, Array & Loops53. Division and Multiplication in Assembly54. Jumps Based on Specific Flags55. Jumps Based on Equality56. Simple Jump Statements57. Jumps Based on Specific Condition58. Code Examples59. Practice on MASM60. Procedures61. File Operations Procedures62. Labels in Procedures63. Stack64. Runtime Stack65. Conditional Control Flow Directives66. Compound Expressions67. Data Representation & Conversion68. Architecture69. Data Path70. Control Unit71. Critical Path72. General Principles of Pipelining73. Pipelined Y86 Implementations
    COMP3137›Introduction to Computer Organization
    Computer Organization and Assembly LanguageTopic 1 of 73

    Introduction to Computer Organization

    4 minread
    724words
    Beginnerlevel

    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 load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time4 min
      Word count724
      Code examples0
      DifficultyBeginner