Course title
L00170002
Fundamental Exercise on Computer Science and Engineering 2B

KANAO Taro
Middle-level Diploma Policy (mDP)
Program / Major mDP Goals
Computer Science and Engineering C 与えられた要求に対して、コンピュータを用いたシステムやプログラムを設計・実装して評価することができる。また、チームの一員として他のメンバーと協調してそれらの作業を行うことができる。
Purpose of class
Students will do programming by using assembly language and understand how information processing is done in the processor (CPU) and memory while running a simulator to check their operation.
Course description
In order to understand the operation mechanism of the CPU and memory, students will do programming by using the assembly language and learn while running it with a simulator. By the simulator, how the data in registers inside the CPU and in the memories changes will be grasped. By using the assembly language of the MIPS architecture, programming is done with a wide range of exercises.
Goals and objectives
  1. To be able to program using MIPS assembly language.
  2. To be able to describe the contents of registers and memories during execution.
  3. To be able to understand and make use of the concept of addressing and stack.
Relationship between 'Goals and Objectives' and 'Course Outcomes'

Review tests during class Assignments Final exam Total.
1. 5% 20% 20% 45%
2. 15% 2% 10% 27%
3. 10% 3% 15% 28%
Total. 30% 25% 45% -
Evaluation method and criteria
We score 25% for the assignments, 30% for the review tests during the class, and 45% for the final exam.
In the review tests during the class and the final exam if a student can solve the examples in the class materials, and
in the exercises if a student can create basic-level programs based on the understanding of the contents explained in the class, the score will be at least 60%.
Language
Japanese
Class schedule

Class schedule HW assignments (Including preparation and review of the class.) Amount of Time Required
1. MIPS Assembly language and programming, how to use the simulator, and add/subtract/multiply/divide instructions Check the syllabus. Also check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
2. Memory addresses, load instructions, and store instructions Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
3. Arrays, branch instructions, and reading array elements using loops Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
4. Logical operation instructions, immediate instructions, and shift instructions Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
5. Output of character strings, and character operations Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
6. Character strings and arrays, and memory accesses using index registers Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
7. Input of characters and numbers from the keyboard Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
8. Stack, stack pointer, and instructions to call functions Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
9. Recursive functions and stack frames Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
10. Sorting algorithms and assembly program Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
11. Linked list in assembly program, and dynamic memory allocation Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
12. Binary search tree in assembly program, and searching and inserting elements Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
13. Instructions for floating-point numbers and operations Check the contents of distributed materials. 60minutes
Review the contents of the lecture and solve the examples and exercises again. 130minutes
14. Final exam and review Check the contents of distributed materials and lectures. 60minutes
Review and solve the examples and the exercises given in the class. 130minutes
Total. - - 2660minutes
Feedback on exams, assignments, etc.
ways of feedback specific contents about "Other"
Feedback in/outside the class.
Textbooks and reference materials
Textbooks are not specified. Refer to the class materials to be distributed in advance.

Reference:
Computer Organization and Design Sixth Edition, Patterson & Hennessy, Morgan Kaufmann
Prerequisites
Computer architecture
Office hours and How to contact professors for questions
  • Thursday, 16:50-17:50.
Regionally-oriented
Non-regionally-oriented course
Development of social and professional independence
  • Course that cultivates an ability for utilizing knowledge
  • Course that cultivates a basic problem-solving skills
Active-learning course
Most classes are interactive
Course by professor with work experience
Work experience Work experience and relevance to the course content if applicable
Applicable Utilizing his experience in the research and development of computer hardware at an electronics manufacturer, he teaches through assembly-language programming the principles of the CPU and memory operation necessary for the development of computer systems.
Education related SDGs:the Sustainable Development Goals
  • 4.QUALITY EDUCATION
  • 7.AFFORDABLE AND CLEAN ENERGY
  • 9.INDUSTRY, INNOVATION AND INFRASTRUCTURE
Last modified : Sat Mar 14 14:49:39 JST 2026