;
; *** Listing 7-20 ***
;
; Measures the performance of multiplying by 80 with
; shifts and adds.
;
	sub	ax,ax
	call	ZTimerOn
	rept	1000
	mov	ax,10	;so we have a constant value to
			; multiply by
	mov	cl,4
	shl	ax,cl	;times 16
	mov	cx,ax	;set aside times 16
	shl	ax,1	;times 32
	shl	ax,1	;times 64
	add	ax,cx	;times 80 (times 64 + times 16)
	endm
	call	ZTimerOff
