Commit Graph

13 Commits

Author SHA1 Message Date
Paul Mathieu
790c08f1f2 ld: now generates a full rom vhdl from template 2021-03-13 15:44:48 -08:00
Paul Mathieu
e1557ad4b6 cc: add -I preprocessor option 2021-03-13 15:44:22 -08:00
Paul Mathieu
a3a67105eb cc: add support for structs
- now we keep track of expression type
- added '|' and '|=' operators
- implemented '->' operator
- minor cleanups
2021-03-13 15:42:39 -08:00
Paul Mathieu
44a3a03147 Fix relocs 2021-02-22 20:35:09 -08:00
Paul Mathieu
edf167ff2b Fix initial stack pointer 2021-02-22 20:34:54 -08:00
Paul Mathieu
f8586a3fb0 Fix eq 2021-02-22 20:34:35 -08:00
Paul Mathieu
fbeb22df5a Implement post_decrement 2021-02-22 20:34:17 -08:00
Paul Mathieu
abfd8d3647 Fix shl 2021-02-22 20:33:58 -08:00
Paul Mathieu
f3928f52a4 Fix if-else regs 2021-02-22 20:33:35 -08:00
Paul Mathieu
64d440c94b Word-precise imm for BEQ and BNEQ 2021-02-22 20:33:05 -08:00
Paul Mathieu
f59b3efb9f Fix a few details 2021-02-18 21:27:20 -08:00
Paul Mathieu
0157e235e4 Add support for char litterals and <<
Also streamline cc.py to do it all:
- cpp
- cc
- as

LD is still a separate step
2021-02-18 21:20:35 -08:00
Paul Mathieu
363944d417 Initial commit 2021-02-17 13:20:30 -08:00