home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
ZTIMER11.ZIP
/
TEST
/
MOVTST.ASM
next >
Wrap
Assembly Source File
|
1991-11-12
|
413b
|
23 lines
; Sample code to measure the performance of 1000 loads of AL from
; memory. Use by renaming to TESTCODE, which is included in PZTEST.ASM.
; PZTIME.BAT does this, along with assembling and linking the code.
jmp Skip ; Jump around any defined data
MemVar db ?
Skip:
; Start timing
call ZTimerOn
rept 1000
mov al,[MemVar]
endm
; Stop timing
call ZTimerOff