home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Vectronix 2
/
VECTRONIX2.iso
/
FILES_01
/
P_FOTRAN.LZH
/
68881
/
GETCS8.ASM
< prev
next >
Wrap
Assembly Source File
|
1987-12-31
|
805b
|
38 lines
title getcs8
module getcs8
;
; Copyright (C) 1988 Prospero Software
;
include fpumac.lib
section .getcs8
;
xdef getcr8 ; get control-register
xdef getsr8 ; get status-register
xref .hdnit
;
getcr8:
move.l #$000000f0,d0
move.w #$0B000,command
g0
move.l 4(sp),a1
move.l (sp),a0
adda.w #8,sp
g1
cmp.w #$8900,response
beq.s g1
and.l operand,d0
jsr .hdnit
move.l d0,(a1)
jmp (a0)
getsr8:
move.l #$00000050,d0
move.w #$0a800,command
bra.s g0
END