Skip to content

Conversation

@volf52
Copy link
Owner

@volf52 volf52 commented Dec 21, 2020

  • Improve Parser tests.
  • Move tests for checking valid_c_commands inside the test_valid_c_commands function.
  • Add more for newly added modules,

- Moved the testing of possible_c_commands inside the test_valid_c_commands (rather than parameterizing it)
- `Coder` class is responsible for translating C command fields
- Cannot be instantiated. `RuntimeError` is raised on calling __init__
- Raises `InvalidMnemonicError` when given an invalid mnenmonic
- The given mnemonic is case-insensitive
- SymbolTable holds the addressed of different symbols, used for A-Instructions and L-Instructions
@volf52 volf52 merged commit 2073406 into main Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant