Merge pull request #559 from gabi-250/theory-inline-asm-fix

Add missing colon before label.
pull/560/head^2
0xAX 6 years ago committed by GitHub
commit 50769957b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,7 @@ Here we see the `native_load_gdt` function which loads a base address from the [
The second optional `qualifier` is the `goto`. This qualifier tells the compiler that the given assembly statement may perform a jump to one of the labels which are listed in the `GotoLabels`. For example:
```C
__asm__ goto("jmp %l[label]" : : : label);
__asm__ goto("jmp %l[label]" : : : : label);
```
Since we finished with these two qualifiers, let's look at the main part of an assembly statement body. As we have seen above, the main part of an assembly statement consists of the following four parts:

@ -112,4 +112,5 @@ Thank you to all contributors:
* [Andrés Rojas](https://github.com/c0r3dump3d)
* [Beomsu Kim](https://github.com/0xF0D0)
* [Firo Yang](https://github.com/firogh)
* [Edward Hu](https://github.com/BDHU)
* [Edward Hu](https://github.com/BDHU)
* [Gabriela Moldovan](https://github.com/gabi-250)

Loading…
Cancel
Save