Normal quotes
This commit is contained in:
parent
5e10794a24
commit
18011c595a
352 changed files with 6040 additions and 6040 deletions
10
03-09.md
10
03-09.md
|
|
@ -13,7 +13,7 @@
|
|||
rem * long-period Zen timer program LZTEST.EXE to time the code *
|
||||
rem * named as the command-line parameter. Listing 3.5 must be *
|
||||
rem * named LZTIMER.ASM, and Listing 3.6 must be named *
|
||||
rem * LZTEST.ASM. To time the code in LST3-8, you’d type the *
|
||||
rem * LZTEST.ASM. To time the code in LST3-8, you'd type the *
|
||||
rem * DOS command: *
|
||||
rem * *
|
||||
rem * lztime lst3-8 *
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
:ckexist
|
||||
if exist %1 goto docopy
|
||||
echo ***************************************************************
|
||||
echo * The specified file, “%1,” doesn’t exist. *
|
||||
echo * The specified file, "%1," doesn't exist. *
|
||||
echo ***************************************************************
|
||||
goto end
|
||||
rem
|
||||
|
|
@ -127,7 +127,7 @@ designed to be called from assembly language; some relatively minor
|
|||
modifications are required before the **ZTimerOn** (start timer),
|
||||
**ZTimerOff** (stop timer), and **ZTimerReport** (display timing
|
||||
results) routines can be called from C. There are two separate cases to
|
||||
be dealt with here: small code model and large; I’ll tackle the simpler
|
||||
be dealt with here: small code model and large; I'll tackle the simpler
|
||||
one, the small code model, first.
|
||||
|
||||
Altering the Zen timer for linking to a small code model C program
|
||||
|
|
@ -137,9 +137,9 @@ involves the following steps: **C** hange **ZTimerOn** to
|
|||
**\_TEXT** . Figure 3.2 shows the line numbers and new states of all
|
||||
lines from Listing 3.1 that must be changed. These changes convert the
|
||||
code to use C-style external label names and the small model C code
|
||||
segment. (In C++, use the “C” specifier, as in
|
||||
segment. (In C++, use the "C" specifier, as in
|
||||
|
||||
extern “C” ZTimerOn(void);
|
||||
extern "C" ZTimerOn(void);
|
||||
|
||||
------------------------ --------------------------------- --------------------
|
||||
[Previous](03-08.html) [Table of Contents](index.html) [Next](03-10.html)
|
||||
|
|
|
|||
Loading…
Reference in a new issue