;
; *** Listing 2-8 ***
;
; Measures the performance of 20000 loads of AL from
; memory. (Use by renaming to TESTCODE, which is
; included by LZTEST.ASM (Listing 2-6). LZTIME.BAT
; (Listing 2-7) does this, along with all assembly
; and linking.)
;
; Note: takes about 10 minutes to assemble on a PC with
;	MASM 5.0.
;
	jmp	Skip	;jump around defined data
;
MemVar	db	?
;
Skip:
;
; Start timing.
;
	call	ZTimerOn
;
	rept	20000
	mov	al,[MemVar]
	endm
;
; Stop timing.
;
	call	ZTimerOff
