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
6
04-09.md
6
04-09.md
|
|
@ -79,8 +79,8 @@ computer standards.
|
|||
|
||||
That sounds pretty serious, but we did make an unfounded assumption
|
||||
about memory access speed. Let's get some hard numbers. Listing 4.11
|
||||
accesses display memory at the 8088's maximum speed, by way of a **REP
|
||||
MOVSW** with display memory as both source and destination. The code in
|
||||
accesses display memory at the 8088's maximum speed, by way of a `REP
|
||||
MOVSW` with display memory as both source and destination. The code in
|
||||
Listing 4.11 executes in 3.18 µs per access to display memory—not as
|
||||
long as we had assumed, but a long time nonetheless.
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ long as we had assumed, but a long time nonetheless.
|
|||
|
||||
For comparison, let's see how long the same code takes when accessing
|
||||
normal system RAM instead of display memory. The code in Listing 4.12,
|
||||
which performs a **REP MOVSW** from the code segment to the code
|
||||
which performs a `REP MOVSW` from the code segment to the code
|
||||
segment, executes in 1.39 µs per display memory access. That means that
|
||||
on average, 1.79 µs (more than 8 cycles!) are lost to the display
|
||||
adapter cycle-eater on each access. In other words, the display adapter
|
||||
|
|
|
|||
Loading…
Reference in a new issue