Fix outdated text regarding _ labels

This commit is contained in:
Amanieu d'Antras 2020-03-06 13:17:32 +00:00
parent 1738eecc0c
commit 8f2871eca9
1 changed files with 1 additions and 3 deletions

View File

@ -188,9 +188,7 @@ we had to use the `rax` constraint specifier.
Note that unlike other operand types, explicit register operands cannot be used in the template string: you can't use `{}` and should write the register name directly instead. Also, they must appear at the end of the operand list after all other operand types.
It is somewhat common that instructions have operands that are not explicitly listed in the
assembly (template). By default all operands must be used in the template string, but it is possible
to opt-out of this by giving an operand the name `_`:
Consider this example which uses the x86 `mul` instruction:
```rust
fn mul(a: u64, b: u64) -> u128 {