Skip to content

Commit d3e6f1a

Browse files
Move screenshots to below the usage instructions
1 parent 460a268 commit d3e6f1a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@ It contains two tools:
99
- **`rusty_man_computer`** Is the main program. It reads a binary file containing assembled LMC code and runs it.
1010
- **`bin_creator`** is a utility that lets you paste in the contents of LMC's memory (from the online simulator), which it will convert to a binary file (which can be executed by `rusty_man_computer`).
1111

12-
## Screenshots
13-
14-
### Printing every ASCII character
15-
16-
This screenshot only shows the last few clock cycles, after all the characters have been printed.
17-
18-
Each clock cycle, the contents of the registers are shown on the first line, the next line is the output, and then the contents of memory is printed, formatted in the same way as the online simulator (left to right, and then down).
19-
20-
![Screenshot of some of the output from the emulator running in a terminal](assets/terminal-demo-1.png)
21-
2212
## Usage
2313

2414
### Running in CodeSandbox
@@ -112,6 +102,16 @@ cargo run --bin rusty_man_computer -- --ram my_program.bin
112102
- `--help` (`-h`) prints the help message, which shows a list of command-line arguments.
113103
- `--version` (`-V`) prints the program name and version.
114104

105+
## Screenshots
106+
107+
### Printing every ASCII character
108+
109+
This screenshot only shows the last few clock cycles, after all the characters have been printed.
110+
111+
Each clock cycle, the contents of the registers are shown on the first line, the next line is the output, and then the contents of memory is printed, formatted in the same way as the online simulator (left to right, and then down).
112+
113+
![Screenshot of some of the output from the emulator running in a terminal](assets/terminal-demo-1.png)
114+
115115
## Features
116116

117117
Rusty-Man Computer shows the whole state of the computer at the end of every clock cycle, including the contents of the registers, all memory values, the output, and if a branch instruction has been called. This verbose output should make it easy to see what the emulator is doing, and to track your code as it runs.

0 commit comments

Comments
 (0)