Convert notes into blockquotes
This commit is contained in:
parent
832fb15e54
commit
8ed9dea394
105 changed files with 884 additions and 411 deletions
19
08-01.md
19
08-01.md
|
|
@ -50,9 +50,12 @@ C/C++ and Watcom C are by now pretty good at fine-tuning C code, and
|
|||
you're not likely to do much better by taking the compiler's assembly
|
||||
language output and tweaking it.
|
||||
|
||||
------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *To make the process of translating C code to assembly language worth the trouble, you must ignore what the compiler does and design your assembly language code from a pure assembly language perspective. With a merely adequate translation, you risk laboring mightily for little or no reward.*
|
||||
------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
> 
|
||||
> To make the process of translating C code to assembly language worth the
|
||||
> trouble, you must ignore what the compiler does and design your assembly
|
||||
> language code from a pure assembly language perspective. With a merely
|
||||
> adequate translation, you risk laboring mightily for little or no
|
||||
> reward.
|
||||
|
||||
Apropos of which, when was the last time you heard of Terry Jacks?
|
||||
|
||||
|
|
@ -88,9 +91,13 @@ Also make it a point to concentrate on refining your program design and
|
|||
algorithmic approach at the conceptual and/or C levels before doing any
|
||||
assembly language optimization.
|
||||
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *Assembly language optimization is the final and far from the only step in the optimization chain, and as such should be performed last; converting to assembly too soon can lock in your code before the design is optimal. At the very least, conversion to assembly tends to make future changes and debugging more difficult, slowing you down and limiting your options.*
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
> 
|
||||
> Assembly language optimization is the final and far from the only step
|
||||
> in the optimization chain, and as such should be performed last;
|
||||
> converting to assembly too soon can lock in your code before the design
|
||||
> is optimal. At the very least, conversion to assembly tends to make
|
||||
> future changes and debugging more difficult, slowing you down and
|
||||
> limiting your options.
|
||||
|
||||
### Don't Call Your Functions on Me, Baby {#Heading4}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue