0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

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
This commit is contained in:
Andrew Kelley 2017-02-04 22:33:58 -05:00
commit 64a0510205
3 changed files with 18 additions and 3 deletions