浏览代码

Add missing colon before label.

Gabriela Alexandra Moldovan 7 年之前
父节点
当前提交
60c8998efe
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      Theory/asm.md
  2. 2 1
      contributors.md

+ 1 - 1
Theory/asm.md

@@ -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:
 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
 ```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:
 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:

+ 2 - 1
contributors.md

@@ -112,4 +112,5 @@ Thank you to all contributors:
 * [Andrés Rojas](https://github.com/c0r3dump3d)
 * [Andrés Rojas](https://github.com/c0r3dump3d)
 * [Beomsu Kim](https://github.com/0xF0D0)
 * [Beomsu Kim](https://github.com/0xF0D0)
 * [Firo Yang](https://github.com/firogh)
 * [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)