Skip to content

Commit 47ecdf2

Browse files
committed
formatting
1 parent 32cf254 commit 47ecdf2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tutorial4/ex1/ex1.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ findNl(unsigned char*, unsigned char*):
197197

198198
**17 - 21** and **23 - 27** correspond to following operations in the `c++` code:
199199

200-
```c++
201-
uint64_t lowChars=(~block)&highBits;
202-
uint64_t matches0A=~((((block&lowBits)^0x0A0A0A0A0A0A0A0Aull)+lowBits)&highBits);
203-
uint64_t matches=matches0A&lowChars;
204-
```
200+
```c++
201+
uint64_t lowChars=(~block)&highBits;
202+
uint64_t matches0A=~((((block&lowBits)^0x0A0A0A0A0A0A0A0Aull)+lowBits)&highBits);
203+
uint64_t matches=matches0A&lowChars;
204+
```
205205
**28** *Jump if equal* to .L14. So This is the place where the function falls in to the loop. If the previous instruction `and rdx, rcx`
206206
resulted in `0` (which mean `matches` are empty (no new line found)) appropriate flag was set and the *jump* instruction will move
207207
the execution to label .L14.

0 commit comments

Comments
 (0)