[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__

Working with __asm__

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Working with __asm__

Postby yildizabdullah » Wed Mar 11, 2015 8:39 am

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?
yildizabdullah
 
Posts: 15
Joined: Thu Jul 31, 2014 10:51 am
Location: Istanbul

Re: Working with __asm__

Postby sebraa » Wed Mar 11, 2015 2:31 pm

sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 17 guests

cron