Skip to content

Commit 5146e76

Browse files
authored
Merge pull request #124 from KihtrakRaknas/Cmov-typo-fix
Fix typo in Cmov* descriptions
2 parents 673fd2e + 7c38f2b commit 5146e76

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

www/notes/a86.scrbl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ Each register plays the same role as in x86, so for example
11651165
}
11661166

11671167
@defstruct*[Cmove ([dst register?] [src (or/c register? offset?)])]{
1168-
Move from @racket[dst] to @racket[src] if the comparison flag is set to equal.
1168+
Move from @racket[src] to @racket[dst] if the comparison flag is set to equal.
11691169

11701170
@ex[
11711171
(asm-interp
@@ -1191,7 +1191,7 @@ Each register plays the same role as in x86, so for example
11911191
}
11921192

11931193
@defstruct*[Cmovne ([dst register?] [src (or/c register? offset?)])]{
1194-
Move from @racket[dst] to @racket[src] if the comparison flag is set to not equal.
1194+
Move from @racket[src] to @racket[dst] if the comparison flag is set to not equal.
11951195

11961196
@ex[
11971197
(asm-interp
@@ -1217,7 +1217,7 @@ Each register plays the same role as in x86, so for example
12171217
}
12181218

12191219
@defstruct*[Cmovl ([dst register?] [src (or/c register? offset?)])]{
1220-
Move from @racket[dst] to @racket[src] if the comparison flag is set to less than.
1220+
Move from @racket[src] to @racket[dst] if the comparison flag is set to less than.
12211221

12221222
@ex[
12231223
(asm-interp
@@ -1243,7 +1243,7 @@ Each register plays the same role as in x86, so for example
12431243
}
12441244

12451245
@defstruct*[Cmovle ([dst register?] [src (or/c register? offset?)])]{
1246-
Move from @racket[dst] to @racket[src] if the comparison flag is set to less than or equal.
1246+
Move from @racket[src] to @racket[dst] if the comparison flag is set to less than or equal.
12471247

12481248
@ex[
12491249
(asm-interp
@@ -1269,7 +1269,7 @@ Each register plays the same role as in x86, so for example
12691269
}
12701270

12711271
@defstruct*[Cmovg ([dst register?] [src (or/c register? offset?)])]{
1272-
Move from @racket[dst] to @racket[src] if the comparison flag is set to greather than.
1272+
Move from @racket[src] to @racket[dst] if the comparison flag is set to greather than.
12731273

12741274
@ex[
12751275
(asm-interp
@@ -1295,7 +1295,7 @@ Each register plays the same role as in x86, so for example
12951295
}
12961296

12971297
@defstruct*[Cmovge ([dst register?] [src (or/c register? offset?)])]{
1298-
Move from @racket[dst] to @racket[src] if the comparison flag is set to greater than or equal.
1298+
Move from @racket[src] to @racket[dst] if the comparison flag is set to greater than or equal.
12991299

13001300
@ex[
13011301
(asm-interp
@@ -1321,7 +1321,7 @@ Each register plays the same role as in x86, so for example
13211321
}
13221322

13231323
@defstruct*[Cmovo ([dst register?] [src (or/c register? offset?)])]{
1324-
Move from @racket[dst] to @racket[src] if the overflow flag is set.
1324+
Move from @racket[src] to @racket[dst] if the overflow flag is set.
13251325

13261326
@ex[
13271327
(asm-interp
@@ -1347,7 +1347,7 @@ Each register plays the same role as in x86, so for example
13471347
}
13481348

13491349
@defstruct*[Cmovno ([dst register?] [src (or/c register? offset?)])]{
1350-
Move from @racket[dst] to @racket[src] if the overflow flag is not set.
1350+
Move from @racket[src] to @racket[dst] if the overflow flag is not set.
13511351

13521352
@ex[
13531353
(asm-interp
@@ -1373,7 +1373,7 @@ Each register plays the same role as in x86, so for example
13731373
}
13741374

13751375
@defstruct*[Cmovc ([dst register?] [src (or/c register? offset?)])]{
1376-
Move from @racket[dst] to @racket[src] if the carry flag is set.
1376+
Move from @racket[src] to @racket[dst] if the carry flag is set.
13771377

13781378
@ex[
13791379
(asm-interp
@@ -1399,7 +1399,7 @@ Each register plays the same role as in x86, so for example
13991399
}
14001400

14011401
@defstruct*[Cmovnc ([dst register?] [src (or/c register? offset?)])]{
1402-
Move from @racket[dst] to @racket[src] if the carry flag is not set.
1402+
Move from @racket[src] to @racket[dst] if the carry flag is not set.
14031403

14041404
@ex[
14051405
(asm-interp

0 commit comments

Comments
 (0)