Thank you Jhon, I found a very good description about the "inline assembly for PPC" from Metrowerk's CodeWarrior. Apple's xcode accepts the syntax. It's a real break-out of the restrictions of "c". It allows me to access all memory without alignment problems. I even can access the code, implement dispatch tables, etc. (Platform dependent off course).
Teletep --- In c-prog@yahoogroups.com, John Gaughan <[EMAIL PROTECTED]> wrote: > > teletep wrote: > > I know assembly, but i don't know how to embed it in C. > > Do you know a simple tutorial on inline asm? (preferably PPC). > > > > While embedded assembly is part of the C standard, the syntax of > actually using it vary from compiler to compiler. In general there is > usually a block like this: asm { .... } that contains the assembler > code. Some compilers add underscores to the "asm" keyword, some do not, > some use a different keyword. The syntax of the assembler code is > different for each compiler and platform as well. > > -- > John Gaughan >