# inline assembly supports \`%=\` syntax · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/64a0510205b4d224413de52fd87632fbe6bfe083)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 64a0510205b4d224413de52fd87632fbe6bfe083

Requested commit: 64a0510205b4d224413de52fd87632fbe6bfe083

Commit: 64a0510205b4d224413de52fd87632fbe6bfe083

Tree: c673e98af23f82d939ec0513bfbf8f757704a9a6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
inline assembly supports `%=` syntax

it outputs a number that is unique to each instance of the asm
statement in the entire compilation.

useful when creating local labels and referring to them multiple
times in a single template that generates multiple
assembler instructions

```

## Parents

- [b840184bb09b9d5e4272f848dcaa7c4973dfdcd5](https://git.cafe/gitcafe/zig/commit/b840184bb09b9d5e4272f848dcaa7c4973dfdcd5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/64a0510205b4d224413de52fd87632fbe6bfe083?format=markdown)
