I have posted an example gpsim stimulus file to the website.
One of your classmates pointed out that I was wrong about the number of
instruction cycles for question 3 on the second example exam. Instead of
taking 8 * 8 + 4 cycles, it takes 8 * 9 + 5 cycles. That is because
instructions that change the program counter, such as return and goto, each
require two cycles. If I remember correctly, I handed out the section of the
datasheet explaining this when I gave the exam.
Best Regards,
-Robert Dick-
Received on Mon Jun 2 14:58:17 2008
This archive was generated by hypermail 2.1.8 : Sat Aug 23 2008 - 21:08:11 CDT