Change bold code snippets to inline code blocks
This commit is contained in:
parent
f658bfbb40
commit
3c76d884ef
185 changed files with 1772 additions and 1772 deletions
8
06-01.md
8
06-01.md
|
|
@ -60,7 +60,7 @@ programming, and especially so when working in assembly language, where
|
|||
many instructions have talents above and beyond their obvious abilities.
|
||||
|
||||
On the other hand, there are also a number of instructions, such as
|
||||
**LOOP**, that are designed to perform specific functions but aren't
|
||||
`LOOP`, that are designed to perform specific functions but aren't
|
||||
always the best instructions for those functions. So don't judge a book
|
||||
by its cover, either.
|
||||
|
||||
|
|
@ -84,9 +84,9 @@ of not judging a book by its cover.
|
|||
|
||||
The point to all this: You must come to regard the x86 family
|
||||
instructions for what they do, not what you're used to thinking they do.
|
||||
Yes, **SHL** shifts a pattern left—but a look-up table can do the same
|
||||
thing, and can often do it faster. **ADD** can indeed add two operands,
|
||||
but it can't put the result in a third register; **LEA** can. The
|
||||
Yes, `SHL` shifts a pattern left—but a look-up table can do the same
|
||||
thing, and can often do it faster. `ADD` can indeed add two operands,
|
||||
but it can't put the result in a third register; `LEA` can. The
|
||||
instruction set is your raw material for writing high-performance code.
|
||||
By limiting yourself to thinking only in certain well-established ways
|
||||
about the various instructions, you're putting yourself at a substantial
|
||||
|
|
|
|||
Loading…
Reference in a new issue