Johnny simulator
| Johnny simulator | |
|---|---|
| Basic data
|
|
| Maintainer | Peter Dauscher |
| developer | Peter Dauscher |
| operating system | Windows , Linux |
| programming language | Free Pascal |
| category | Von Neumann architecture |
| License | GNU GPLv3 (program), CC-BY-SA (documentation) |
| German speaking | Yes |
| sourceforge.net/projects/johnnysimulator/ | |
The Johnny Simulator is a simulator that is supposed to show the functionality of a computer with the Von Neumann architecture . The program is primarily intended for education, which means that certain simplifications have been made (such as: simplified bus operations and a reduced instruction set ). In addition, compared to other processors , the Johnny simulator does not use the binary system but the decimal system .
Instruction set
The Johnny Simulator can do the following ten commands:
| command | description |
|---|---|
| TAKE | The content of a memory cell is loaded into the accumulator |
| SAVE | The contents of the accumulator are loaded into a memory cell. |
| ADD | The content of a memory cell is added to the value in the accumulator. |
| SUB | The content of a memory cell is subtracted from the value in the accumulator. |
| TST | If the specified memory location has the value 0, then a memory location is skipped |
| JMP | The program continues at the specified location |
| INC | The value of a memory location is increased by 1. |
| DEC | The value of a memory location is reduced by 1. |
| ZERO | The value of a memory location is set to 0. |
| LDS | A message appears that the program has been processed. This command must be given at the end of each program. |
These 10 commands can be extended independently by creating further macro commands from micro commands.
Web links
Individual evidence
- ↑ Download Johnny Simulator. Retrieved December 25, 2018 .
- ↑ a b c Peter Dauscher: Johnny 1.00 - Documentation -. July 10, 2012, accessed December 25, 2018 .