view 3rdparty/customboots/boisy/testtfr.asm @ 2379:520fee257cac

Updated
author boisy
date Fri, 22 Jan 2010 12:18:22 +0000
parents 2f771d5be5d3
children
line wrap: on
line source

         ifp1
         use   os9defs
         endc

tylg     set   Prgrm+Objct   
atrv     set   ReEnt+rev
rev      set   $00
edition  set   1

         mod   eom,name,tylg,atrv,start,size

stack    rmb   200
size     equ   .

name     fcs   /testtfr/
         fcb   edition

start
         orcc  #IntMasks

* set up appropriate registers for test

* measure mul multiplying 0
         lda   #0
         ldb   #0

* measure mul multiplying alternating bit patterns
*         lda   #%01010101
*         ldb   #%10101010

top
* 100 instructions in series
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         tfr   a,b
         lbra  top

         clrb
         os9   F$Exit

         emod
eom      equ   *
         end