-
Notifications
You must be signed in to change notification settings - Fork 12
Process
Pete Dring edited this page Mar 9, 2015
·
3 revisions
The Little Man Computer CPU has 3 registers:
This stores the memory address of the next instruction that the CPU should run. It starts at 0 and increases by one each time an instruction is run, unless that instruction tells it to jump to another location.
This stores a copy of the value in memory at the address stored in the program counter register. This instruction is what tells the CPU what to do.
This is where the CPU stores the result of any instruction such as the data read from an input device or the result of an addition or subtraction.