看板 b95902HW 關於我們 聯絡資訊
We can't release the test data for grading. However, TA has sent some test data we used in the submission system. That should be enough for you to test your own program. If you still have problems, I will suggest that you test your program in the same way that the submission system tests your code toyasm -o < 1.asm > 1.obj toyasm -o < part1.asm > part1.obj toylink 1.obj part1.obj > part1.toy toyvm part1.toy < input > output diff output correct-answer You can download 1.asm from the submission system. part1.asm is your code. You need to compile toyvm from the code at the submission system. Then, use the sample data TA has sent as inputs to verify whether your results are correct. It you still have problems with your code, please ask me ot TA. We will be glad to discuss it with you. Yung-Yu ※ 引述《aliby (小青)》之銘言: : 想請問老師可不可以公佈part1 BCD的測資呢? : 因為我在toy上跑沒有問題 跟一些人討論了一些常能測出錯的測資也都ok : 可是上傳總是wrong answer...T.T : 比較奇怪的是 我上傳後他出現的clock都十分的小 : 大概只有176 .184左右 : 這是否代表他幾乎沒有執行我的BCD..? : 但我的code基本上也是符合規格 : (一開始標籤是BCD; 最後要jr RF; BCD中也未動用RF) : 嗯 主要還是希望有測資 重拾一些debug的方向 : 麻煩老師了:) -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.49
aliby:謝謝老師 我會再去試試的~ 11/05 07:16