Correct typos and formatting in listing 3.8
This commit is contained in:
parent
879524acd5
commit
37a1456cc8
1 changed files with 7 additions and 7 deletions
|
|
@ -2075,23 +2075,23 @@ the precision Zen timer to handle on the 8088.
|
||||||
; Note: takes about ten minutes to assemble on a slow PC if
|
; Note: takes about ten minutes to assemble on a slow PC if
|
||||||
;you are using MASM
|
;you are using MASM
|
||||||
;
|
;
|
||||||
jmpSkip;jump around defined data
|
jmp Skip ;jump around defined data
|
||||||
;
|
;
|
||||||
MemVardb?
|
MemVar db ?
|
||||||
;
|
;
|
||||||
Skip:
|
Skip:
|
||||||
;
|
;
|
||||||
; Start timing.
|
; Start timing.
|
||||||
;
|
;
|
||||||
callZTimerOn
|
call ZTimerOn
|
||||||
;
|
;
|
||||||
rept20000
|
rept 20000
|
||||||
moval,[MemVar]
|
mov al,[MemVar]
|
||||||
endm
|
endm
|
||||||
;
|
;
|
||||||
; Stop timing.
|
; Stop timing.
|
||||||
;
|
;
|
||||||
callZTimerOff
|
call ZTimerOff
|
||||||
```
|
```
|
||||||
|
|
||||||
When LZTIME.BAT is run on a PC with the following command line (assuming
|
When LZTIME.BAT is run on a PC with the following command line (assuming
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue