Nền tảng Khoa học máy tính
Tổ chức máy tính, hệ điều hành, nền tảng Linux và lý thuyết khoa học máy tính cốt lõi.
ICO AY2526S2 — Assignment #2 Answers
Introduction to Computer Organization (ICO, CCIT 4026) HKU SPACE Community College | AY2526 S2
Đọc bài viết →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
Đọc bài viết →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
Đọc bài viết →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
Đọc bài viết →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)
Đọc bài viết →CHAPTER 2: INSTRUCTION SET DESIGN (PART 1)
MIPS (Microprocessor without Interlocked Pipeline Stages) is ideal for learning computer organization
Đọc bài viết →CHAPTER 3: INSTRUCTION SET DESIGN (PART 2)
Usage: Function calls Saves PC+4 (next instruction) in $ra Jumps to target address
Đọc bài viết →CHAPTER 4: INSTRUCTION SET DESIGN (PART 3)
The MIPS calling convention defines how functions communicate
Đọc bài viết →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
Đọc bài viết →Chapter Files Summary
The Comprehensive_Teaching_Material.md has been successfully separated into 5 individual chapter files matching the PDF structure.
Đọc bài viết →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)
Đọc bài viết →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
Đọc bài viết →ICO Lab 03 — Answers and Detailed Solutions
Introduction to Computer Organization (CCIT4026) Lab 03: Calculator (Addition, Subtraction, Multiplication, Division, Logical Shift)
Đọc bài viết →ICO Lab 04 — Answers and Detailed Solutions
Introduction to Computer Organization (CCIT4026) Lab 04: Decision Making and Loops (SID Validation, Even/Odd Count)
Đọc bài viết →ICO AY2526S2 — Lab 05 Answers & Solutions
Introduction to Computer Organization (ICO, CCIT 4026) HKU SPACE Community College | AY2526 S2
Đọc bài viết →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,
Đọc bài viết →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.
Đọc bài viết →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.
Đọc bài viết →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.
Đọc bài viết →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
Đọc bài viết →MIPS ASSEMBLY QUICK REFERENCE GUIDE
This quick reference covers the most commonly used MIPS instructions and patterns for CCIT4026.
Đọc bài viết →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
Đọc bài viết →Assignment 1 Answers — Introduction to Computer Organization (CCIT 4026)
Student Number: 20285660 HKU SPACE Community College — AY2526 S2
Đọc bài viết →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
Đọc bài viết →