The integrated assembler


Introduction

The compiler supports inline assembler like TP, but the used syntax is that of the GNU AS, because the compiler use the GNU AS.

The text between ASM and END is direct written to the generated assembler file. Local variables and prameters of functions are sustituted by there address on the stack, relativ to EBP. Secondly, there are several keywords.

Keywords

The assembler supports some keywords to make assembler programming easier. __SELF gives you access to the actuell class pointer.

__RESULT gives you access to the result of a function. __OLDEBP gives you access to the frame pointer of the calling function in nested functions

Syntax

For questions about the syntax, look at the FAQs of the WEB server.


back to Programmer's Manual

fnklaemp@cip.ft.uni-erlangen.de

Copyright (c) 1996 by Florian Klaempfl