|
|
1146b925f5
|
src/as/codegen.c: use symtab to get the address for J-Type instruction.
|
2018-12-10 23:13:39 +01:00 |
|
|
|
0f10c9fd38
|
src/as/parser.c: on parsing error. skip doing semantics checks and code gen.
|
2018-12-10 23:13:38 +01:00 |
|
|
|
0916f8bcdc
|
src/as/parser.c: do semantics checks.
|
2018-12-10 23:13:38 +01:00 |
|
|
|
aa171ac46c
|
src/as/parser.c: in match_operand() store strings in the AST.
|
2018-12-10 23:13:38 +01:00 |
|
|
|
7ec84ad2a1
|
src/as/parser.c: J-Type should now accept a label as argument.
|
2018-12-10 23:13:38 +01:00 |
|
|
|
2b80662967
|
src/as/parser.c: store address for label declaration in the symbol table.
|
2018-12-10 23:13:38 +01:00 |
|
|
|
86293537eb
|
src/as/lexer.c: make sure we store the string if it's a label.
|
2018-12-10 23:13:38 +01:00 |
|
|
|
7646d63736
|
asm: build AST in parser.
|
2018-12-10 23:13:38 +01:00 |
|
|
|
96220537de
|
asm: rename instr_encode to codegen and do code generation from AST.
|
2018-12-10 23:13:37 +01:00 |
|
|
|
aca8d7937e
|
asm: adding AST
|
2018-12-10 23:13:37 +01:00 |
|
|
|
adbe0006f5
|
asm: adding symbol table datastructure.
|
2018-12-09 19:52:29 +01:00 |
|
|
|
3528c467ac
|
asm: adding the parser
|
2018-12-09 19:52:29 +01:00 |
|
|
|
16501e40be
|
asm: adding instr_encode module
|
2018-12-09 19:52:29 +01:00 |
|
|
|
95f2e38c2d
|
asm: adding error module
|
2018-11-27 10:52:40 +01:00 |
|
|
|
377c008ebe
|
asm: lexer implementation.
|
2018-11-27 10:52:39 +01:00 |
|