Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Rename .test files to .asm | David Phillips | 2019-08-03 |
| | |||
* | Add some (failing) tests | David Phillips | 2019-08-03 |
| | |||
* | Tidy test runner script | David Phillips | 2019-08-03 |
| | | | | | | | Makes no-clean mode optional, and non-default. By default, we probably want failed test runs not to leave things lying around, since most of test running for now will be for test development. Perhaps once tests are stable, we can switch back to no-clean by default to catch bugs. | ||
* | Add test for asm-disasm-asm, fix bug with labels | David Phillips | 2019-08-03 |
| | | | | | | | | | | | | | | This adds a support script for future expansion of an asm->disasm->asm series of tests, which will at minimum ensure some parity between the assembler and disassembler. Lower level tests to ensure correct behaviour rather than just symmetrical behaviour belong in another set of tests. This patch also fixes the assembler's behaviour around numeric labels. Many other assemblers support entirely numeric labels, and the output of the disassembler includes them. The assembler has been adjusted to lex a probably-numeric as a label if it is at the start of the line. Otherwise, old label behavour and old numeric behaviour is left in place. | ||
* | Implement quick disassembler | David Phillips | 2019-08-03 |
| | |||
* | Misc tidy up of assembler sources | David Phillips | 2019-08-03 |
| | |||
* | Add support for // /**/ style comments | David Phillips | 2019-08-03 |
| | |||
* | Fix bug lexing char values | David Phillips | 2019-08-03 |
| | |||
* | More unused code removal | David Phillips | 2019-08-03 |
| | |||
* | Remove superfluous printfs, factor reg table lookup | David Phillips | 2019-08-03 |
| | |||
* | emit_error -> emit, factor keywords out | David Phillips | 2019-08-03 |
| | |||
* | Small tidy up of headers, misc output | David Phillips | 2019-08-03 |
| | |||
* | Factor out various lookup tables | David Phillips | 2019-08-03 |
| | |||
* | Tidy assembler.c | David Phillips | 2019-08-03 |
| | |||
* | Dirst dump of working prototype | David Phillips | 2019-08-03 |