Mini Project 1

  1. Mini_Project_1_Spec.pptx is the specification of Mini Project 1.

  2. calculator_loop/ and calculator_recursion/ are the provided packages. Please refer to the package introduction for details.

  3. calculator_recursion_merged/ is the merged version as a single .c file, which can be submitted to OJ more readily.

  4. After you finish the project, you can test it with assembly_parser/main.c. The test cases are in assembly_parser/testcase. Please refer to assembly_parser/README.md for usage.

  5. Note that x, y, z's initial values are all 0 in the test cases of assembly_parser/testcase. However, they won't be initialized as 0 in the exam. You have to take the initial values from memory. You can refer to page 17 of the spec.

  6. There will be no cases of memory exceeding 256 bytes.


  1. Mini_Project_1_Spec.pptx 是 Mini Project 1 的規格說明。

  2. calculator_loopcalculator_recursion 是我們提供的 packages. 詳情請參考 package 介紹簡報

  3. calculator_recursion_merged 是整併為一個.c檔的版本,方便同學上傳至OJ。

  4. 完成 project 後,可以使用 assembly_parser/main.c 測試。測資放在 assembly_parser/testcase。使用方法可參照 assembly_parser/README.md

  5. 請同學注意:assembly_parser/testcase 裡的測資中,x y z 的初始值皆為 0。但考試時並不會初始為 0,同學必須從 memory 中把它們的初始值存取出來。可以參考 Spec 的第 17 頁。

  6. 記憶體不會發生超過 256 bytes 的錯誤。