home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / zenlib / lst12_1.asm < prev    next >
Assembly Source File  |  1990-02-15  |  252b  |  14 lines

  1. ;
  2. ; *** Listing 12-1 ***
  3. ;
  4. ; Measures the performance of JMP.
  5. ;
  6.     call    ZTimerOn
  7.     rept    1000
  8.     jmp    short $+2    ;we'll do a short jump,
  9.                 ; since the next instruction
  10.                 ; can be reached with a
  11.                 ; 1-byte displacement
  12.     endm
  13.     call    ZTimerOff
  14.