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 MCS51 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 the stri
Đọ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
1. What is Computer Organization?11whatiscomputerorganization 2. The von Neumann Architecture12thevonneumannarchitecture 3. Number Systems and Data Representation13numbersystemsanddatarepresentation 4. Performance Metric
Đọc bài viết →CHAPTER 2: INSTRUCTION SET DESIGN PART 1
1. Introduction to MIPS Architecture21introductiontomipsarchitecture 2. MIPS Registers22mipsregisters 3. MIPS Memory Organization23mipsmemoryorganization 4. Basic MIPS Instructions24basicmipsinstructions 5. Data Transfer
Đọc bài viết →CHAPTER 3: INSTRUCTION SET DESIGN PART 2
1. Control Flow Instructions31controlflowinstructions 2. Implementing HighLevel Constructs32implementinghighlevelconstructs 3. Multiplication and Division33multiplicationanddivision 4. Addressing Modes34addressingmodes 5
Đọc bài viết →CHAPTER 4: INSTRUCTION SET DESIGN PART 3
1. Function Calls and Stack41functioncallsandstack 2. Simple Function Example42simplefunctionexample 3. Function with Local Variables43functionwithlocalvariables 4. Recursive Functions44recursivefunctions 5. Nested Funct
Đọc bài viết →CHAPTER 5: INSTRUCTION SET DESIGN PART 4
1. System Calls in MARS51systemcallsinmars 2. Input/Output Examples52inputoutputexamples 3. Complete Program Example53completeprogramexample 4. String Processing54stringprocessing 5. FloatingPoint Operations55floatingpoi
Đọc bài viết →Chapter Files Summary
The ComprehensiveTeachingMaterial.md has been successfully separated into 5 individual chapter files matching the PDF structure.
Đọc bài viết →COMPREHENSIVE TEACHING MATERIAL
1. Course Overviewcourseoverview 2. Chapter 1: Introductionchapter1introduction 3. Chapter 2: Instruction Set Design Part 1chapter2instructionsetdesignpart1 4. Chapter 3: Instruction Set Design Part 2chapter3instructions
Đọ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 32bit machine code binary and hex for every instruction type: Rtype, Itype, and Jtype. Each example shows the full fieldbyfield breakdown.
Đọc bài viết →MIPS Assembly to Machine Code — Homework
This homework covers RType, IType, and JType 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
1. Chapter 1: Introductionchapter1introduction 2. Chapter 2: Basic Instructionschapter2basicinstructions 3. Chapter 3: Control Flowchapter3controlflow 4. Chapter 4: Functionschapter4functions 5. Chapter 5: I/O and String
Đọc bài viết →MIPS ASSEMBLY QUICK REFERENCE GUIDE
start: Main program code here Exit program li $v0, 10 syscall
Đọ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 →Introduction to Linux
Linux is a free, opensource operating system kernel first released by Linus Torvalds in 1991. When people say "Linux," they often mean a complete operating system built around this kernel—a Linux distribution distro—whic
Đọc bài viết →