Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kjarosh/besm-emulator
An extended emulator of BESM - a Soviet mainframe computer, implemented in Java.
https://github.com/kjarosh/besm-emulator
Last synced: 7 days ago
JSON representation
An extended emulator of BESM - a Soviet mainframe computer, implemented in Java.
- Host: GitHub
- URL: https://github.com/kjarosh/besm-emulator
- Owner: kjarosh
- License: gpl-3.0
- Created: 2015-09-25T17:36:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-26T08:47:40.000Z (about 9 years ago)
- Last Synced: 2024-10-28T21:29:15.445Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BESM Emulator
Extended emulator of BESM - Soviet mainframe computer, implemented in Java.# Usage
Type `besm -h` for help.
- `besm ` - read and process `filename`,
- `besm -b` - work in binary mode,
- `besm -d` - work in debug mode,
- `besm -e` - work in extended debug mode.## File format
Every file contains memory cells. A single cell consists of address and value.
### Binary mode
In binary mode file is read as an array of 32-bit integer values. Every value
has it's corresponding address starting from `0` and incrementing till `array_length - 1`.Example:
```
01050607 // first instruction - c = a + b
00010007 // second instruction - print c
00000000 // third instruction - stop00000000
000000000000A012 // a
00000701 // b
00000000 // c
```### Plain mode
In plain mode input is encoded as text. Every cell has it's given address.
Example:
```
0: 1 5 6 7 // zero address value - c = a + b
1: 0 1 0 7 // print c
2: 0 0 0 0 // stop5: 147 // a
6: 23 // b
7: 0 // c
```