🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.programmer
1 messages
1 total messages Started by mrj Wed, 01 Aug 1990 22:08
The !APX8087 and TASM
#1763
Author: 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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads