summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/htdocs/options_ASM.html
blob: 4de0e7bbc45c15eabc87b52e6fa25fcd694d7a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<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>