|
c4360ec98a
|
Update env
|
2025-06-30 22:46:27 +02:00 |
|
|
79bf2db028
|
Add readme
|
2023-03-29 18:40:14 +02:00 |
|
|
d9b615b29b
|
Add example program outputting 0-9 in ASCII
|
2023-03-21 19:41:58 +01:00 |
|
|
d0f9849098
|
Fix unnecessary instruction when MOV source and target is equal, add MOV to/from output/input
|
2023-03-21 18:35:44 +01:00 |
|
|
5500df3991
|
Add JMP and NOP instructions
|
2023-03-21 18:34:50 +01:00 |
|
|
d0ac5dc77d
|
Add more test programs
|
2023-03-21 18:34:35 +01:00 |
|
|
f0d4288728
|
Remove obsolete RegNode
|
2023-03-21 17:44:25 +01:00 |
|
|
60c426eb70
|
Add source and compiled version of updated test program
|
2023-03-21 17:14:55 +01:00 |
|
|
b9898e0a8d
|
Implement JMP instructions and fix a parsing bug, when MOV is called with a register as source
|
2023-03-21 17:14:40 +01:00 |
|
|
664c28f635
|
main.cpp: Write the output file in Logisim format
|
2023-03-21 16:28:09 +01:00 |
|
|
2ab33ed85b
|
Update the CodegenObserver to return a vector
|
2023-03-21 16:27:55 +01:00 |
|
|
97072149db
|
Change the test program to match CPU
|
2023-03-21 15:50:08 +01:00 |
|
|
4b9b4d3607
|
main.cpp: Generate code from AST
|
2023-03-21 15:49:47 +01:00 |
|
|
2e2e5d8ed3
|
Fix: Parsing of mov instructions containing a constant, like "MOV 10, reg1"
|
2023-03-21 15:49:29 +01:00 |
|
|
e92e7d2183
|
Implement codegen using an Observer
|
2023-03-21 15:48:42 +01:00 |
|
|
7e1159f785
|
main.cpp: Parse the test program and print the AST
|
2023-03-21 14:34:14 +01:00 |
|
|
e2a4ebecf3
|
Implement AST Observer and AST printer
|
2023-03-21 14:33:56 +01:00 |
|
|
306e631e64
|
Implement part of the parser
|
2023-03-21 14:33:29 +01:00 |
|
|
6993388645
|
Implement part of the AST structure
|
2023-03-21 14:33:15 +01:00 |
|
|
d6dc3f3af4
|
Implement part of the AST structure
|
2023-03-21 14:33:05 +01:00 |
|
|
0cae53a3d1
|
Update Token class with subtoken and int conversion
|
2023-03-21 14:32:30 +01:00 |
|
|
6179ab13be
|
CMake: Rename executable to "lasm"
|
2023-03-20 20:08:13 +01:00 |
|
|
912c3ac496
|
Lex the input file
|
2023-03-20 20:00:49 +01:00 |
|
|
07e37a1bb0
|
Implement a simple lexer
|
2023-03-20 20:00:34 +01:00 |
|
|
e532be7970
|
Add a basic test program
|
2023-03-20 20:00:13 +01:00 |
|
|
c28a01125b
|
Add a basic test program
|
2023-03-20 18:39:16 +01:00 |
|
|
cf9deeb723
|
Add a basic test program
|
2023-03-20 17:51:09 +01:00 |
|
|
640988eb2e
|
Parse program arguments using Boost::program_options and read the specified input file
|
2023-03-20 17:50:38 +01:00 |
|
|
07ecb27382
|
CMake: Add Boost dependency
|
2023-03-20 17:49:51 +01:00 |
|
|
e40452a54d
|
CMake: Initial Project Structure
|
2023-03-20 15:47:49 +01:00 |
|
|
a71ff6f6f3
|
CMake: Initial Project Structure
|
2023-03-20 15:38:42 +01:00 |
|
|
5ef1940336
|
Env: Update Flake
|
2023-03-20 15:38:13 +01:00 |
|
|
1b2d85f6e8
|
Env: Setup Flake
|
2023-03-20 15:19:11 +01:00 |
|