Inline::ASM ???
Posted by Luki - 07/10/08 at 09:10:39 amInline Assembler in Perl, geht nicht? Geht doch:
use Inline C;
$a = asmadd(6,19);
print “$a\n”;__END__
__C__int asmadd( int a, int b){
asm( “addl %%ebx, %%eax;\n”
: “=a” (a)
: “a” (a), “b” (b)
);
return a;}
October 7, 2008 | In Perl | No Comments
Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds.
Valid XHTML and CSS.