Next: TC-X FAQ, Previous: TC-X Given Code, Up: TC-X [Contents][Index]
There is not much code to write:
Codegen
(src/target/ia32/call.brg,
src/target/ia32/move.brg):
complete some rules in the grammar of the code generator produced by
MonoBURG.
GasAssembly::cjump_build
(src/target/ia32/gas-assembly.cc):
translate conditional branch instructions (branch if equal, if lower
than, etc.) into IA-32 assembly.
Information on IA-32 assembly instructions may be found in the Intel® 64 and IA-32 Architectures Software Developer Manuals or in this much shorter IA32 Instruction List form. The documentation of the GNU Assembler (GAS) is also a recommended reading.
Completing the following routines is needed for register allocation only (see TC-9):
Codegen::rewrite_program
(src/target/ia32/epilogue.cc)