Question: : Given the following program where a user enters X = 0 x 1 5 and Y = 0 x 1 5 , at which
: Given the following program where a user enters X x and Y x at which address does the program stop executing? What is the value of Z when it finishes? XYZ are all equal to at program start
Simple Choice Add Number at start of each line is word address where it is stored in memory.
Input
Store X
Input
Store Y
Load X
Add Y
SKIPCOND
jump END
Output
Halt
A END, Store Z
B Halt
C X DEC
D Y DEC
E Z DEC
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
