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
26
11-06.md
26
11-06.md
|
|
@ -113,15 +113,17 @@ Theory confirmed.
|
|||
|
||||
**LISTING 11.4 L11-4.ASM**
|
||||
|
||||
;
|
||||
; *** Listing 11.4 ***
|
||||
;
|
||||
; Measures the performance of adding an immediate value
|
||||
; to a register, for comparison with Listing 11.5, which
|
||||
; adds an immediate value to a memory variable.
|
||||
;
|
||||
call ZTimerOn
|
||||
rept 1000
|
||||
add dx,100h
|
||||
endm
|
||||
call ZTimerOff
|
||||
```nasm
|
||||
;
|
||||
; *** Listing 11.4 ***
|
||||
;
|
||||
; Measures the performance of adding an immediate value
|
||||
; to a register, for comparison with Listing 11.5, which
|
||||
; adds an immediate value to a memory variable.
|
||||
;
|
||||
call ZTimerOn
|
||||
rept 1000
|
||||
add dx,100h
|
||||
endm
|
||||
call ZTimerOff
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue