Question: 10. Given the following Super Simple CPU program: LODY TOP ING DONE SUB X JMP TOP DONE STO X STP DAT 1 DAT 6 Y
10. Given the following "Super Simple CPU" program: LODY TOP ING DONE SUB X JMP TOP DONE STO X STP DAT 1 DAT 6 Y a. [4] Trace the code by writing the values of Accumulator, Memory Xand Yin a table (shown below) and recording their changes after each instruction. Y Assembly instruction Accumulator X LODY 6 1 6 b. [1] Which line involves a Decision? c. [1] Which line causes a loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
