This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: empty subroutine and back accordingly. The next error is not one that is easily noticed. After test enqueues and dequeue cases are created and the program is run, the memory should show that A1 is being changed when the program jumps to the Full subroutine because of the incomplete MOVEM command. Once all of that is modified the program should run. The next step is to test the three test cases defined in the lab outline. One for empty, one for half full, and one for full the result can be obtained by doing a trace. Conclusion This lab was somewhat effective at demonstrating queues, while it did not teach full concepts hands on, it gave the general idea through partial programming of the dequeue as well and having to know how a queue is suppose to work because of the debugging needed to make the program work. Overall this lab was useful, however there are ways this lab could be more efficient for teaching the defined concepts....
View Full Document
This note was uploaded on 04/17/2008 for the course CE 0306-250-0 taught by Professor Melton during the Fall '07 term at RIT.
- Fall '07