Question: 9 . Given the following Super Simple CPU program: LOD Y TOP JNG DONE SUB X JMP TOP DONE STO X STP X DAT 1
Given the following "Super Simple CPU" program:
LOD Y
TOP JNG DONE
SUB X
JMP TOP
DONE STO X
STP
X DAT
Y DAT
a Trace the code by writing the values of Accumulator, Memory X and Y in a table shown below and recording their changes after each instructionb. Which line involves a Decision?
c Which line causes a loop?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
