Unformatted text preview: , and Execute . 28. The following program seems to run, but does strange things with certain input values. Can you find the bug? ’" Main sum: *W "D d#1 num0: *’L RK d#0 num : *’L RK d#0 num : *’L RK d#0 Main: L –D– sum,d D)RI num0,d –DD– num0,d D)RI num ,d –DD– num ,d D)RI num ,d –DD– num ,d ST ")– sum,d D)R sum,d ST P *)ND 29. Correct the code in Exercise 28 and run the test plan outlined in the chapter. 30. Finish executing the test plan for the algorithm in the text that reads and sums three values. 31. Write an algorithm that reads in three values and writes out the result of subtracting the second value from the sum of the first and the third values....
View Full Document
- Fall '10
- Assembly Language, Low-Level Programming Languages, XXXXXXXX XXXXX==X XXX, certain input values, implementation language