1*57fb77a1Scgd* $NetBSD: FPSP.sa,v 1.2 1994/10/26 07:48:33 cgd Exp $ 2*57fb77a1Scgd 322ef5fa9Smycroft* MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP 422ef5fa9Smycroft* M68000 Hi-Performance Microprocessor Division 522ef5fa9Smycroft* M68040 Software Package 622ef5fa9Smycroft* 722ef5fa9Smycroft* M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc. 822ef5fa9Smycroft* All rights reserved. 922ef5fa9Smycroft* 1022ef5fa9Smycroft* THE SOFTWARE is provided on an "AS IS" basis and without warranty. 1122ef5fa9Smycroft* To the maximum extent permitted by applicable law, 1222ef5fa9Smycroft* MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED, 1322ef5fa9Smycroft* INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A 1422ef5fa9Smycroft* PARTICULAR PURPOSE and any warranty against infringement with 1522ef5fa9Smycroft* regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF) 1622ef5fa9Smycroft* and any accompanying written materials. 1722ef5fa9Smycroft* 1822ef5fa9Smycroft* To the maximum extent permitted by applicable law, 1922ef5fa9Smycroft* IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER 2022ef5fa9Smycroft* (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS 2122ef5fa9Smycroft* PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR 2222ef5fa9Smycroft* OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE 2322ef5fa9Smycroft* SOFTWARE. Motorola assumes no responsibility for the maintenance 2422ef5fa9Smycroft* and support of the SOFTWARE. 2522ef5fa9Smycroft* 2622ef5fa9Smycroft* You are hereby granted a copyright license to use, modify, and 2722ef5fa9Smycroft* distribute the SOFTWARE so long as this entire notice is retained 2822ef5fa9Smycroft* without alteration in any modified and/or redistributed versions, 2922ef5fa9Smycroft* and that such modified versions are clearly identified as such. 3022ef5fa9Smycroft* No licenses are granted by implication, estoppel or otherwise 3122ef5fa9Smycroft* under any patents or trademarks of Motorola, Inc. 3222ef5fa9Smycroft 3322ef5fa9Smycroft* 3422ef5fa9Smycroft* FPSP.sa 3.1 12/10/90 3522ef5fa9Smycroft* 3622ef5fa9Smycroft* Init file for testing FPSP software package. 3722ef5fa9Smycroft* 3822ef5fa9Smycroft* Takes over the exception vectors that the FPSP handles. 3922ef5fa9Smycroft* 4022ef5fa9Smycroft 4122ef5fa9SmycroftFPSP IDNT 2,1 Motorola 040 Floating Point Software Package 4222ef5fa9Smycroft 4322ef5fa9SmycroftCODE_ST equ $10000 ;address of test code start 4422ef5fa9Smycroft 4522ef5fa9SmycroftFLINE_VEC equ $2c 4622ef5fa9SmycroftBSUN_VEC equ $c0 4722ef5fa9SmycroftINEX2_VEC equ $c4 4822ef5fa9SmycroftDZ_VEC equ $c8 4922ef5fa9SmycroftUNFL_VEC equ $cc 5022ef5fa9SmycroftOPERR_VEC equ $d0 5122ef5fa9SmycroftOVFL_VEC equ $d4 5222ef5fa9SmycroftSNAN_VEC equ $d8 5322ef5fa9SmycroftUNSUP_VEC equ $dc 5422ef5fa9Smycroft 5522ef5fa9Smycroft xref fline,unsupp 5622ef5fa9Smycroft xref bsun,inex,dz,unfl 5722ef5fa9Smycroft xref operr,ovfl,snan 5822ef5fa9Smycroft 5922ef5fa9Smycroft section 7 6022ef5fa9Smycroft 6122ef5fa9Smycroft* Load vector table with addresses of FPSP routines and 6222ef5fa9Smycroft* branch to CODE_ST, start address of test code. 6322ef5fa9Smycroft 6422ef5fa9Smycroft xdef start 6522ef5fa9Smycroftstart: 6622ef5fa9Smycroft movec.l VBR,a0 6722ef5fa9Smycroft move.l #fline,FLINE_VEC(a0) 6822ef5fa9Smycroft move.l #bsun,BSUN_VEC(a0) 6922ef5fa9Smycroft move.l #inex,INEX2_VEC(a0) 7022ef5fa9Smycroft move.l #dz,DZ_VEC(a0) 7122ef5fa9Smycroft move.l #unfl,UNFL_VEC(a0) 7222ef5fa9Smycroft move.l #operr,OPERR_VEC(a0) 7322ef5fa9Smycroft move.l #ovfl,OVFL_VEC(a0) 7422ef5fa9Smycroft move.l #snan,SNAN_VEC(a0) 7522ef5fa9Smycroft move.l #unsupp,UNSUP_VEC(a0) 7622ef5fa9Smycroft 7722ef5fa9Smycroft jmp CODE_ST 7822ef5fa9Smycroft 7922ef5fa9Smycroft end 80