SYS68K/CPU-30 R4 Technical Reference Manual
Appendix to VMEPROM
Page 165
9.6 Benchmark Source Code
***************************************************************
** Module name: Assembler benchmarks Version: 1.0 **
** date started: 20-Apr-87 M.S. last update: 23-Apr-87 M.S. **
** Copyright (c) 1986/87 FORCE Computers GmbH Munich **
***************************************************************
*
section 0
opt alt,P=68020,P=68881
xdef .benchex
xdef .BEN1BEG,.BEN1END
xdef .BEN2BEG,.BEN2END
xdef .BEN3BEG,.BEN3END
xdef .BEN4BEG,.BEN4END
xdef .BEN5BEG,.BEN5END
xdef .BEN6BEG,.BEN6END
xdef .BEN7BEG,.BEN7END
xdef .BEN8BEG,.BEN8END
xdef .BEN9BEG,.BEN9END
xdef .BEN10BEG,.BEN10END
xdef .BEN11BEG,.BEN11END
xdef .BEN12BEG,.BEN12END
xdef .BEN13BEG,.BEN13END
xdef .BEN14BEG,.BEN14END
page
*
* benchmark execution: benchex(address)
*
movem.l d1-a6,-(a7)
move.l 15*4(a7),a0
jsr (a0)
movem.l (a7)+,d1-a6
rts
*
* BENCH #1: DECREMENT LONG WORD IN MEMORY 10.000.000 TIMES
*
LEA.L @010(PC),A0
MOVE.L #10000000,(A0)
@020 SUBQ.L #1,(A0)
BNE.S @020
RTS
@010 DS.L 1
*
* BENCH #2: PSEUDO DMA 1K BYTES 50.000 TIMES
*
MOVE.L #50000,D2 ; DO 50000 TRANSFERS
@001 MOVE.W #$FF,D3 ; EACH IS 1K BYTES
LEA.L @010(PC),A1 ; A1 POINTS TO SOURCE AND DESTINATION
@002 MOVE.L (A1),(A1)+
DBRA D3,@002
SUBQ.L #1,D2
BNE.S @001
RTS
NOP
@010 NOP
PAGE
Содержание SYS68K/CPU-30 R4
Страница 41: ...Installation SYS68K CPU 30 R4 Technical Reference Manual Page 28...
Страница 127: ...Hardware Description SYS68K CPU 30 R4 Technical Reference Manual Page 114...
Страница 130: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 117 4 2 1 RTC 72421...
Страница 131: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 118 4 2 2 DUSCC 68562...
Страница 132: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 119 4 2 3 PI T TS68230...
Страница 133: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 120 4 2 4 SCSI 87033 34...
Страница 134: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 121 4 2 5 FDC37C65C...
Страница 135: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 122 4 2 6 LANCE Am79C90...
Страница 136: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 123 4 2 7 SIA Am7992B...
Страница 137: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 124 4 2 8 Motorola MC68030 and MC68882...
Страница 145: ...VMEPROM SYS68K CPU 30 R4 Technical Reference Manual Page 132...
Страница 189: ...Appendix to VMEPROM SYS68K CPU 30 R4 Technical Reference Manual Page 176...