SimCom  the Simple Computer

1
Let's start with a demonstration of SimCom doing its thing. When you click on the link, SimCom will appear with a program already loaded. This is a program to generate the prime numbers (2,3,5,7,11,13,17,19,23,..). Press the RUN button to start the program and watch the primes appear in the black Output box. Click here now.

Ok, let me try to describe the various parts of SimCom. You should keep flicking between this page & SimCom to see what I'm talking about. SimCom has

So what can go in the memory boxes? There is room for 4 digits in a memory box. The four digits are sometimes broken into TWO parts by SimCom Here's a simple example: 785. "7" means "jump to" so 785 means "jump to box 85". Try it by pressing 1 STEP.
If we now put "700" in box 85, the Program Counter will bounce backwards and forwards between 0 and 85 forever! Try it. Not a very useful exercise but hopefully you're starting to get the idea.

[Contents] [Next] [SimCom]