> Is there a way to inline "asm" code inside gcc-FORTRAN program? Not inside a Fortran program. (I think many Fortran compilers don't.) For all practical purposes, you might want to wrap that assembly in a C function. FX