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