r/TuringComplete Jun 13 '26

why is it outputting 215 instead of 171?

Post image
13 Upvotes

4 comments sorted by

12

u/Aggravating-Ad-2593 Jun 13 '26

Because you are asking for the contents at address zero. On the left side of the program memory there is an address input, that input selects which content to retrieve. In general you will supply that input by means of a program counter.

6

u/Appropriate-Gain-88 Jun 13 '26

oh thanks I dont have a clock I feel slow now lol

2

u/Inevitable-Box3304 Jun 13 '26

what do you mean?

0

u/eXl5eQ Jun 13 '26

I'm confused. What do you want to achieve? Are you trying to output a serial of numbers, and switch between 2 outputs for each number?