Next: Conclusions and Future Up: Integrating Abstract Machines: Previous: Defining Assembler Instructions

The Assembler and Loader

In the GAMA, assembler and loader are interleaved: in contrast to most assemblers for native machines which first produce a relocatable object file which is linked together with other object files by a linker and then loaded into memory for execution, the GAMA assembler and loader directly transform assembler code into executable machine code in memory.

In addition to the instructions defined via definstr, the GAMA assembler handles the following pseudo instructions:

The following example shows the usage of some of these pseudo instructions and how the assembler and loader transform assembler code into executable machine code in memory.



Next: Conclusions and Future Up: Integrating Abstract Machines: Previous: Defining Assembler Instructions


Harold Boley & Michael Sintek (sintek@dfki.uni-kl.de)