Architecture Generation
Right now, yasm architectures are hand-generated. Ultimately, we'd like to generate them from databook-style instruction description files. We're a long way from this right now; although a start has been made at generating the .c and .gap files needed, no work has been done yet in generating the actual parsing and other boilerplate code required.
Attachments
- gen_arch.py (20.1 kB) -
First cut of architecture generation (Python)
, added by peter@tortall.net on 08/18/07 15:22:20. - gen_lc3b_arch.py (6.1 kB) -
Example LC-3b generator (uses gen_arch.py)
, added by peter@tortall.net on 08/18/07 15:22:59. - gen_ppc_arch.py (51.3 kB) -
Example PPC generator (uses gen_arch.py)
, added by peter@tortall.net on 08/18/07 15:23:24.
