# add docs for assembly and fix global assembly parsing · gitcafe/zig

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

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

Visibility: public

Requested revision: 15c316b0d8152c0a1ad5b4b26efdf3fdc8cfb4c0

Requested commit: 15c316b0d8152c0a1ad5b4b26efdf3fdc8cfb4c0

Commit: 15c316b0d8152c0a1ad5b4b26efdf3fdc8cfb4c0

Tree: 0bd91c0ba2a63ed3495e94385fbedaa1e3a6fde0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add docs for assembly and fix global assembly parsing

Previously, global assembly was parsed expecting it to have
the template syntax. However global assembly has no inputs,
outputs, or clobbers, and thus does not have template syntax.
This is now fixed.

This commit also adds a compile error for using volatile
on global assembly, since it is meaningless.

closes #1515

```

## Parents

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

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