S SmartDocs

Fondamentaux de l'informatique

Organisation des ordinateurs, systèmes d'exploitation, bases de Linux et théorie informatique fondamentale.

Computer Organization EN Mis à jour 2026-03-12

ICO AY2526S2 — Assignment #2 Answers

Introduction to Computer Organization (ICO, CCIT 4026) HKU SPACE Community College | AY2526 S2

Lire l'article →
Computer Organization EN Mis à jour 2026-03-15

CCIT4064 Microcontrollers (MCU) — Assignment 2 Answers & Explanations

Course: CCIT4064 Microcontrollers (MCU) | Assignment: 2 > Instruction set: Intel MCS-51 (Assembly) / Arduino Sketch (C/C++) unless otherwise stated

Lire l'article →
Computer Organization EN Mis à jour 2026-04-24

Assignment 04 — Detailed Solutions

Strings are arrays of characters (bytes) terminated by the null character (byte value 0). Given that $a0 points to a character string, the procedure strlen() returns the length of the string in register $v0 by reading th

Lire l'article →
Computer Organization EN Mis à jour 2026-03-01

From C Code to MIPS Assembly to Machine Code

This document explains the full pipeline: writing C code → compiling to MIPS assembly → assembling to machine code, with binary and hexadecimal representation. We use a C program that prompts the user to enter a temperat

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

CHAPTER 1: INTRODUCTION

Key Concepts: Computer Architecture vs. Computer Organization Architecture: What the system does (programmer's view) Organization: How the system does it (implementer's view)

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

CHAPTER 2: INSTRUCTION SET DESIGN (PART 1)

MIPS (Microprocessor without Interlocked Pipeline Stages) is ideal for learning computer organization

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

CHAPTER 3: INSTRUCTION SET DESIGN (PART 2)

Usage: Function calls Saves PC+4 (next instruction) in $ra Jumps to target address

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

CHAPTER 4: INSTRUCTION SET DESIGN (PART 3)

The MIPS calling convention defines how functions communicate

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

CHAPTER 5: INSTRUCTION SET DESIGN (PART 4)

System calls (syscalls) provide an interface to operating system services: Input/Output operations Memory allocation Program termination File operations

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

Chapter Files Summary

The Comprehensive_Teaching_Material.md has been successfully separated into 5 individual chapter files matching the PDF structure.

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

COMPREHENSIVE TEACHING MATERIAL

Key Concepts: Computer Architecture vs. Computer Organization Architecture: What the system does (programmer's view) Organization: How the system does it (implementer's view)

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

COURSE SYLLABUS

Course Code: CCIT4026 Course Title: Introduction to Computer Organization Credit Hours: 3 credits Prerequisites: Basic programming knowledge (C, Python, or Java) Class Format: 2 hours lecture + 2 hours lab per week

Lire l'article →
Computer Organization EN Mis à jour 2026-03-01

ICO Lab 03 — Answers and Detailed Solutions

Introduction to Computer Organization (CCIT4026) Lab 03: Calculator (Addition, Subtraction, Multiplication, Division, Logical Shift)

Lire l'article →
Computer Organization EN Mis à jour 2026-03-05

ICO Lab 04 — Answers and Detailed Solutions

Introduction to Computer Organization (CCIT4026) Lab 04: Decision Making and Loops (SID Validation, Even/Odd Count)

Lire l'article →
Computer Organization EN Mis à jour 2026-03-15

ICO AY2526S2 — Lab 05 Answers & Solutions

Introduction to Computer Organization (ICO, CCIT 4026) HKU SPACE Community College | AY2526 S2

Lire l'article →
Computer Organization EN Mis à jour 2026-03-26

MIPS Assembly — 50 Practice Exercises (with Answers)

Exercises based on the MIPS Assembly Instruction Set Reference. Each question includes the answer and explanation. Covers registers, instruction formats, arithmetic, logic, shifts, branches, jumps, load/store, functions,

Lire l'article →
Computer Organization EN Mis à jour 2026-03-26

MIPS Assembly — Complete Instruction Set Reference

A comprehensive reference covering every MIPS32 instruction with syntax, description, encoding format, and practical examples. Designed for students using MARS/SPIM simulators.

Lire l'article →
Computer Organization EN Mis à jour 2026-03-23

MIPS Assembly to Machine Code — Complete Encoding Guide

This guide walks through translating MIPS assembly instructions into 32-bit machine code (binary and hex) for every instruction type: R-type, I-type, and J-type. Each example shows the full field-by-field breakdown.

Lire l'article →
Computer Organization EN Mis à jour 2026-02-27

MIPS Assembly to Machine Code — Homework

This homework covers R-Type, I-Type, and J-Type MIPS instructions. For each instruction, (1) identify the format, (2) show the binary encoding, and (3) give the hex machine code.

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

PRACTICE PROBLEMS WITH SOLUTIONS

Question: Convert the following numbers: Decimal 157 to binary Binary 11010110 to decimal Hexadecimal 0x2F to binary Decimal 255 to hexadecimal

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

MIPS ASSEMBLY QUICK REFERENCE GUIDE

This quick reference covers the most commonly used MIPS instructions and patterns for CCIT4026.

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

Computer Organization Teaching Materials

This repository contains comprehensive teaching materials for Introduction to Computer Organization (CCIT4026). The materials cover all aspects of teaching MIPS assembly programming and computer organization fundamentals

Lire l'article →
Computer Organization EN Mis à jour 2026-02-19

Assignment 1 Answers — Introduction to Computer Organization (CCIT 4026)

Student Number: 20285660 HKU SPACE Community College — AY2526 S2

Lire l'article →
computer science EN Mis à jour 2026-09-30

Memory Basics and Main Memory

A memory is two things together: a collection of cells that store binary information, and the circuits that move information into and out of those cells. A cell holds one bit. Cells are grouped into rows called data word

Lire l'article →