<commit_before># Ncurses-LC3-Simulator

-- Work in Progress --

An ncurses simulator for the LC-3.

Currently it only supports using .obj files that are created when the actual LC-3 Simulator assembles your program.

Usage:

First run `make`, and then, in the same directory, run the following:

```shell
$ ./LC3Simulator [OPTION] <file>
```

## Keymappings

**Note**: Each key is case sensitve.

The following can also be found in [includes/Keyboard.h](includes/Keyboard.h).

#### Main Menu
|Function           | Key        |
|:------------------|:----------:|
|Simulator Mode     |  s         |
|Memory Mode        |  m         |
|Log dump           |  d         |
|File Select        |  d         |
|Quit               |  q         |

#### Simulator
|Function           | Key        |<commit_msg>Moved some changes to the README made in master.<commit_after># Ncurses-LC3-Simulator

-- Work in Progress --

An ncurses simulator for the LC-3.

It is able to assemble, and run, programs (currently this takes two calls).

Assembly is still a work in progress, but it works for the most part.

Usage:

First run `make`.

Then, to assemble your LC-3 file:
```shell
$ ./LC3Simulator --assemble /path/to/file.asm
```

To run your program in the simulator:
```shell
$ ./LC3Simulator --objectfile /path/to/file.obj
```

## Keymappings

**Note**: Each key is case sensitve.

The following can also be found in [includes/Keyboard.h](includes/Keyboard.h).

#### Main Menu
|Function           | Key        |
|:------------------|:----------:|
|Simulator Mode     |  s         |
|Memory Mode        |  m         |
|Log dump           |  d         |
|File Select        |  d         |
|Quit               |  q         |

#### Simulator
|Function           | Key        |
{'fraction_non_alphanumeric': 0.14383172256964183, 'fraction_numerical': 0.00511654349061967, 'mean_word_length': 1.8852459016393444, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3447663', 'n_tokens_mistral': 539, 'n_tokens_neox': 522, 'n_words': 189}