[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Working with __asm__
Page 1 of 1

Working with __asm__

PostPosted: Wed Mar 11, 2015 8:39 am
by yildizabdullah
I'm exploring an example C code which includes an inline assembly code as:

__asm__("lsr %[j], %[j], 25" : [j] "=r" (j) : [i] "[j]" (j));

What is the meaning of : [j] "=r" (j) : [i] "[j]" (j) that follows the assembler template part?

Re: Working with __asm__

PostPosted: Wed Mar 11, 2015 2:31 pm
by sebraa