You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
848 B
39 lines
848 B
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
|
<title>Uncrustify: where do the Spaces options work-Java</title>
|
|
</head>
|
|
<body lang="en-US">
|
|
<h1><a href="https://github.com/uncrustify/uncrustify">Uncrustify</a>:
|
|
Where do the options work ASM ?</h1>
|
|
|
|
<p>
|
|
</p>
|
|
<h2>Spaces for ASM</h2>
|
|
<p>
|
|
</p>
|
|
<table border="1", width="100%">
|
|
<tr>
|
|
<td>
|
|
<pre>
|
|
void foo()
|
|
{
|
|
int head, bar;
|
|
__asm__ __volatile__
|
|
(
|
|
"movq %0,%%xmm0\n\t" /* asm template */
|
|
"0:\n\t"
|
|
"bar %0,<a title="sp_before_square_asm_block"><strong><font color="red">█</font></strong></a>[%4]\n\t" // in template
|
|
"1:\n\t"
|
|
: "=a", (bar)
|
|
: "=&b", (&head), "+m", (bar)
|
|
: "cc"
|
|
);
|
|
}
|
|
</pre>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|