作者yungyu (cyy)
看板b95902HW
标题Re: [作业] 组语 HW2
时间Mon Nov 5 00:07:54 2007
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
1F:推 aliby:谢谢老师 我会再去试试的~ 11/05 07:16