Skip to content

CS2100: Computer Organisation

Welcome to CS2100: Computer Organisation. This page contains the extended notes for the module.

Usage

Codes

Codes are written in monospace font with some language specific syntax highlighting. Additionally, we will often include a run on ReplIt. Do note that codes in ReplIt are open to all, so do NOT do any homework on ReplIt.

Code Box
1
2
Codes will be written here.
The tab "ReplIt" contains an embedded ReplIt page.

For this example, we do not have a valid ReplIt.

You can use the copy button available on the top right hand corner of the code box to copy the code.

Notes

Informations available within an open notes are still relevant for the module. They are typically categorised into:

Important

This is an important note. It contains information that are central to the module.

Notes

This is a note. It is similar to information but used for variations.

Information

This is an information. It is similar to note but used for variations.

Examples

This is an example. We will typically have tabs inside for different purposes.

Quotes

This is a quote. Or simply to make you recall certain other concepts.

Warning

This is a warning. Try to avoid what is written here.

Danger

This is a danger. Seriously avoid this.

Bug

This is a bug. The most serious of all warning.

If an open notes have tabs, the content of the tabs are also relevant to the module. They may contain additional explanation or ReplIt in the case of examples.

On the other hand, a closed notes contain extra information. These are not going to be tested explicitly but certain information helps understand the content better. Even if they are tested, background information in the question will be used to explain the concept. They may also be explained in tutorials/labs, in which case, the content can be tested. The most common is a "Quick Quiz".

Quick Quiz

The questions are written here.

The answers are written here.

Chapters

Each chapter corresponds to a lecture notes used in the module. Due to the speed required for the first half of the module (explanation of C, explanation of MIPS, etc), some concepts may be relegated to an additional reading on these extended notes.

The chapters are listed below. More chapters may be added as the semester goes as this is a work in progress. You may also use the sidebar to navigate the chapters more easily.

  1. Introduction
  2. C-Language
  3. Data Representation
  4. Pointers & Functions
  5. Arrays, Strings and Structures
  6. MIPS Language Instructions
  7. MIPS Language Assembly
  8. Instruction Set Architecture
  9. MIPS Processor Datapath
  10. MIPS Processor Control

Additionally, you may use the following buttons to navigate:

  • > Next sections/chapters.
  • < Previous sections/chapters.
  • ? Search.