home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Vectronix 2
/
VECTRONIX2.iso
/
FILES_01
/
P_FOTRAN.LZH
/
68881
/
FPUMAC.LIB
< prev
next >
Wrap
Text File
|
1987-12-31
|
1KB
|
35 lines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; FPUMAC.LIB Macro-Library for MC68881 support for ATARI ST
;
; Copyright (C) 1988 Prospero Software Ltd
; by F. Pluennecke
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
nolist
;
; 68881 CIR addresses, see 68881 manual section 5
;
fp881 equ $0ffffa40 ; Floating point Basisadresse
response equ fp881+$00 ; Response-Register (read only )
control equ fp881+$02 ; Control-Register (do not use)
command equ fp881+$0a ; Command CIR (write only)
operand equ fp881+$10 ; Operand CIR (read/write)
;
;
; macro-definitions for FPU-access
;
wrsp macro
rr[.l] tst.w response
bmi.s rr[.l]
endm
sopr macro src
move.l [src],operand
wrsp
endm
list