Sunday, February 3, 2013


universal computer


von Neumann architecture

1. Say "please enter a #"
2. Get the number, store it in X
3. Say "please enter a #"
4. Get the number, store it in Y
5. Add X and Y, store it in Z
6. Say X " plus " Y " is " Z
7. Go to Step 1
fetch-execute cycle
IP (instruction Pointer)
1

X: 3

Y: 9

Z: 12

No comments:

Post a Comment