Home | History | Annotate | Line # | Download | only in fpsp
      1  1.2      cgd *	$NetBSD: FPSP.sa,v 1.2 1994/10/26 07:48:33 cgd Exp $
      2  1.2      cgd 
      3  1.1  mycroft *	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
      4  1.1  mycroft *	M68000 Hi-Performance Microprocessor Division
      5  1.1  mycroft *	M68040 Software Package 
      6  1.1  mycroft *
      7  1.1  mycroft *	M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
      8  1.1  mycroft *	All rights reserved.
      9  1.1  mycroft *
     10  1.1  mycroft *	THE SOFTWARE is provided on an "AS IS" basis and without warranty.
     11  1.1  mycroft *	To the maximum extent permitted by applicable law,
     12  1.1  mycroft *	MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
     13  1.1  mycroft *	INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
     14  1.1  mycroft *	PARTICULAR PURPOSE and any warranty against infringement with
     15  1.1  mycroft *	regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
     16  1.1  mycroft *	and any accompanying written materials. 
     17  1.1  mycroft *
     18  1.1  mycroft *	To the maximum extent permitted by applicable law,
     19  1.1  mycroft *	IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
     20  1.1  mycroft *	(INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
     21  1.1  mycroft *	PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR
     22  1.1  mycroft *	OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE
     23  1.1  mycroft *	SOFTWARE.  Motorola assumes no responsibility for the maintenance
     24  1.1  mycroft *	and support of the SOFTWARE.  
     25  1.1  mycroft *
     26  1.1  mycroft *	You are hereby granted a copyright license to use, modify, and
     27  1.1  mycroft *	distribute the SOFTWARE so long as this entire notice is retained
     28  1.1  mycroft *	without alteration in any modified and/or redistributed versions,
     29  1.1  mycroft *	and that such modified versions are clearly identified as such.
     30  1.1  mycroft *	No licenses are granted by implication, estoppel or otherwise
     31  1.1  mycroft *	under any patents or trademarks of Motorola, Inc.
     32  1.1  mycroft 
     33  1.1  mycroft *
     34  1.1  mycroft *	FPSP.sa 3.1 12/10/90
     35  1.1  mycroft *
     36  1.1  mycroft *	Init file for testing FPSP software package.
     37  1.1  mycroft * 
     38  1.1  mycroft *	Takes over the exception vectors that the FPSP handles.
     39  1.1  mycroft *
     40  1.1  mycroft 
     41  1.1  mycroft FPSP	IDNT	2,1 Motorola 040 Floating Point Software Package
     42  1.1  mycroft 
     43  1.1  mycroft CODE_ST		equ	$10000	;address of test code start
     44  1.1  mycroft 
     45  1.1  mycroft FLINE_VEC	equ	$2c
     46  1.1  mycroft BSUN_VEC	equ	$c0
     47  1.1  mycroft INEX2_VEC	equ	$c4
     48  1.1  mycroft DZ_VEC		equ	$c8
     49  1.1  mycroft UNFL_VEC	equ	$cc
     50  1.1  mycroft OPERR_VEC	equ	$d0
     51  1.1  mycroft OVFL_VEC	equ	$d4
     52  1.1  mycroft SNAN_VEC	equ	$d8
     53  1.1  mycroft UNSUP_VEC	equ	$dc
     54  1.1  mycroft 
     55  1.1  mycroft 	xref	fline,unsupp
     56  1.1  mycroft 	xref	bsun,inex,dz,unfl 
     57  1.1  mycroft 	xref	operr,ovfl,snan
     58  1.1  mycroft 	
     59  1.1  mycroft 	section	7
     60  1.1  mycroft 
     61  1.1  mycroft * Load vector table with addresses of FPSP routines and
     62  1.1  mycroft * branch to CODE_ST, start address of test code.
     63  1.1  mycroft 
     64  1.1  mycroft 	xdef	start
     65  1.1  mycroft start:
     66  1.1  mycroft 	movec.l	VBR,a0
     67  1.1  mycroft 	move.l	#fline,FLINE_VEC(a0)
     68  1.1  mycroft 	move.l	#bsun,BSUN_VEC(a0)
     69  1.1  mycroft 	move.l	#inex,INEX2_VEC(a0)
     70  1.1  mycroft 	move.l	#dz,DZ_VEC(a0)
     71  1.1  mycroft 	move.l	#unfl,UNFL_VEC(a0)
     72  1.1  mycroft 	move.l	#operr,OPERR_VEC(a0)
     73  1.1  mycroft 	move.l	#ovfl,OVFL_VEC(a0)
     74  1.1  mycroft 	move.l	#snan,SNAN_VEC(a0)
     75  1.1  mycroft 	move.l	#unsupp,UNSUP_VEC(a0)
     76  1.1  mycroft 
     77  1.1  mycroft 	jmp	CODE_ST
     78  1.1  mycroft 
     79  1.1  mycroft 	end
     80