Marie infinity loop? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Marie infinity loop?


My assignment is to create a program that will read the input values a,b,c and c from the keyboard, and the final result ( z ) have to be displayed. also the 3 inputted values will need to be displayed too.

input A
store A //(at 0)
output A

input B
store B
output B

input C
store C
output C

load C
subt C
store C

load Z
add A
store Z
Skipcond 00d
Jump 007
output Z

A, dec 0
B, dec 0
C, dec 0
Z, dec 0

with my code i have infinity loop and i can't show the final result. whats my problem ?
Sign In or Register to comment.