Skip to content

Commit 4627e63

Browse files
Gathrosjune128
authored andcommitted
Fixing X86_64 formating in the book (#527)
* fixing small error in bogo_sort.md * fixing bubble_sort.md * fixing euclidean_algorithm.md
1 parent 6521c54 commit 4627e63

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

contents/bogo_sort/bogo_sort.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ In code, it looks something like this:
5656
{% sample lang="st" %}
5757
[import:2-6, lang:"st"](code/smalltalk/bogosort.st)
5858
{% sample lang="asm-x64" %}
59-
[import:93-113, lang:"asm-x64"](code/asm-x64/bogosort.s)
59+
[import:93-113, lang:"asm-x64"](code/asm-x64/bogo_sort.s)
6060
{% sample lang="lisp" %}
6161
[import:20-24, lang:"lisp"](code/lisp/bogo-sort.lisp)
6262
{% endmethod %}
@@ -114,7 +114,7 @@ We are done here!
114114
{% sample lang="st" %}
115115
[import, lang:"st"](code/smalltalk/bogosort.st)
116116
{% sample lang="asm-x64" %}
117-
[import, lang:"asm-x64"](code/asm-x64/bogosort.s)
117+
[import, lang:"asm-x64"](code/asm-x64/bogo_sort.s)
118118
{% sample lang="lisp" %}
119119
[import, lang:"lisp"](code/lisp/bogo-sort.lisp)
120120
{% endmethod %}

contents/bubble_sort/bubble_sort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This means that we need to go through the vector $$\mathcal{O}(n^2)$$ times with
5555
{% sample lang="st" %}
5656
[import:2-15, lang:"smalltalk"](code/smalltalk/bubble.st)
5757
{% sample lang="asm-x64" %}
58-
[import:44-110, lang:"asm-x64"](code/asm-x64/bubble_sort.s)
58+
[import:43-66, lang:"asm-x64"](code/asm-x64/bubble_sort.s)
5959
{% sample lang="f90" %}
6060
[import:19-40, lang:"fortran"](code/fortran/bubble.f90)
6161
{% sample lang="bf" %}

contents/euclidean_algorithm/euclidean_algorithm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The algorithm is a simple way to find the *greatest common divisor* (GCD) of two
4040
{% sample lang="nim" %}
4141
[import:13-24, lang="nim"](code/nim/euclid_algorithm.nim)
4242
{% sample lang="asm-x64" %}
43-
[import:43-78, lang="asm-x64"](code/asm-x64/euclidean_example.s)
43+
[import:35-56, lang="asm-x64"](code/asm-x64/euclidean_example.s)
4444
{% sample lang="f90" %}
4545
[import:1-19, lang="fortran"](code/fortran/euclidean.f90)
4646
{% sample lang="php" %}
@@ -109,7 +109,7 @@ Modern implementations, though, often use the modulus operator (%) like so
109109
{% sample lang="nim" %}
110110
[import:1-11, lang="nim"](code/nim/euclid_algorithm.nim)
111111
{% sample lang="asm-x64" %}
112-
[import:8-41, lang="asm-x64"](code/asm-x64/euclidean_example.s)
112+
[import:10-33, lang="asm-x64"](code/asm-x64/euclidean_example.s)
113113
{% sample lang="f90" %}
114114
[import:21-34, lang="fortran"](code/fortran/euclidean.f90)
115115
{% sample lang="php" %}

0 commit comments

Comments
 (0)