;
; *** Listing 9-8 ***
;
; Times the performance of a 16-bit subtraction
; of an immediate value of 1.
;
	mov	dx,1000
	call	ZTimerOn
TestLoop:
	sub	dx,1	;decrement DX by subtracting 1 from
			; it (3 bytes long, uses sign-
			; extended mod-reg-rm form of SUB)
	jnz	TestLoop
	call	ZTimerOff
