Use backtick code blocks for syntax highlighting
This commit is contained in:
parent
8ed9dea394
commit
f658bfbb40
203 changed files with 26546 additions and 25801 deletions
12
11-01.md
12
11-01.md
|
|
@ -97,13 +97,17 @@ than plain old registers, and can't be set to arbitrary values. That
|
|||
means that segments can't be used for temporary storage or as part of a
|
||||
fast indivisible 32-bit load from memory, as in
|
||||
|
||||
les ax,dword ptr [LongVar]
|
||||
mov dx,es
|
||||
```nasm
|
||||
les ax,dword ptr [LongVar]
|
||||
mov dx,es
|
||||
```
|
||||
|
||||
which loads **LongVar** into DX:AX faster than this:
|
||||
|
||||
mov ax,word ptr [LongVar]
|
||||
mov dx,word ptr [LongVar+2]
|
||||
```nasm
|
||||
mov ax,word ptr [LongVar]
|
||||
mov dx,word ptr [LongVar+2]
|
||||
```
|
||||
|
||||
Protected mode uses those altered segment registers to offer access to a
|
||||
great deal more memory than real mode: The 286 supports 16 megabytes of
|
||||
|
|
|
|||
Loading…
Reference in a new issue