[Top] [Contents] [Index] [ ? ]

Table of Contents

1. Introduction to GNU lightning
1.1 Drawbacks
2. Using GNU lightning
2.1 Configuring and installing GNU lightning
2.2 GNU lightning's instruction set
2.3 Generating code at run-time
2.3.1 A function which increments a number by one
2.3.2 A simple function call to printf
2.3.3 A more complex example, an RPN calculator
2.3.4 Fibonacci numbers
2.4 Re-entrant usage of GNU lightning
2.4.1 Registers
2.5 Accessing the whole register file
2.6 Using autoconf with GNU lightning
3. Porting GNU lightning
3.1 An overview of the porting process
3.2 Automatically recognizing the new platform
3.3 Creating the run-time assembler
3.4 Creating the platform-independent layer
3.4.1 Implementing forward references
3.4.2 Common features supported by `core-common.h'
3.4.3 Supporting scheduling of delay slots
3.4.4 Supporting arbitrarily sized immediate values
3.4.5 Implementing the ABI
3.4.6 Macros composing the platform-independent layer
3.5 More complex tasks in the platform-independent layer
3.6 Implementing macros for floating point
4. The future of GNU lightning
5. Acknowledgements


This document was generated by Alistair Turnbull on April, 12 2005 using texi2html