diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-03-15 20:59:54 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-03-15 20:59:54 -0400 |
| commit | 7025f30be3b6cccf9f419daec9f0b7aeeaa2d6d3 (patch) | |
| tree | 75bf8ff2b8bfcd5f7766203e63c2a4be67e99546 /examples | |
| parent | efb0a239c4aaee370d97caf216859a724d7f72bd (diff) | |
refactor: Explicit register names & instructions
Explicit tokenization of register names and instructions. This forces
stricter syntax conformance and prevents errors from slipping through.
This also prevents the user from using these keywords as names other
than for their intended use.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/instructions.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/instructions.s b/examples/instructions.s index 5379657..d3a7fab 100644 --- a/examples/instructions.s +++ b/examples/instructions.s @@ -2,7 +2,7 @@ add x5, x6, x7 sub x10, x11, x12 and x1, x2, x3 -sll x8, x9, x10o +sll x8, x9, x10 # I-Type addi x5, x6, 10 |
