-
Mini_Project_1_Spec.pptx is the specification of Mini Project 1.
-
calculator_loop/
andcalculator_recursion/
are the provided packages. Please refer to the package introduction for details. -
calculator_recursion_merged/
is the merged version as a single .c file, which can be submitted to OJ more readily. -
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. -
Note that
x
,y
,z
's initial values are all 0 in the test cases ofassembly_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. -
There will be no cases of memory exceeding 256 bytes.
-
Mini_Project_1_Spec.pptx 是 Mini Project 1 的規格說明。
-
calculator_loop
和calculator_recursion
是我們提供的 packages. 詳情請參考 package 介紹簡報。 -
calculator_recursion_merged
是整併為一個.c檔的版本,方便同學上傳至OJ。 -
完成 project 後,可以使用
assembly_parser/main.c
測試。測資放在assembly_parser/testcase
。使用方法可參照 assembly_parser/README.md。 -
請同學注意:
assembly_parser/testcase
裡的測資中,x
y
z
的初始值皆為 0。但考試時並不會初始為 0,同學必須從 memory 中把它們的初始值存取出來。可以參考 Spec 的第 17 頁。 -
記憶體不會發生超過 256 bytes 的錯誤。