🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1763

The !APX8087 and TASM

#1763
From: mrj
Date: Wed, 01 Aug 1990 22:08
45 lines
1487 bytes
	What I want to do is take advantage of the limited parallel
processing that the 8086/8087 can do together.

Example: (do nothing code)

	fild  n       ; load value n
	fsqrt         ; start computing sqrt on 8087
	mov	ax,1  ; 8086 code... while 8087 is running
	cmp	ax,bx
	je	go_on
	add	ax,bx
go_on:	wait          ;re-synch 8086/8087
	.
	.
	.

	I have only started with this problem, so I may not be doing
it right anyhow.  But my problem..

	TASM 1.0 is nice enough to put WAITs in before each 8087
instruction for me.  If you dis-assemble it you see...

	WAIT
	fild  n
	WAIT
	fsqrt
	mov	ax,....
	.
	.

	From my Intel product reference, it would seem that I don't
need these.  Is this just a TASM "feature" to keep me out of trouble.
If not, can it be turned off, or should I find a new assembler?  I
could not find anywhere in Borland's manual anything about 8087
handling.  (except the generic line under the "beginning assembly
language programming and don't forget you RETs", TASM is an AS IS
assembler, you get what you write.)  So are these WAITs mandatory ?

Thank you.
Mike Jones.
EMBA-Computer Facility.
jones@uvm.edu

(M-x yow)
Technical Details
Message-ID: <1594@uvm-gen.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!uvm-gen!jones

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!uvm-gen!jones
From: jones@tabby.uvm.edu (mrj)
Newsgroups: comp.os.msdos.programmer
Subject: The !APX8087 and TASM
Message-ID: <1594@uvm-gen.UUCP>
Date: 1 Aug 90 22:08:48 GMT
Sender: nobody@uvm-gen.UUCP
Organization: Division of EMBA, University of Vermont
Lines: 45