Subject: RE: DELAY vs. delay
To: Martin Husemann <martin@rumolt.teuto.de>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: tech-kern
Date: 03/24/1999 17:35:00
On Wed, 24 Mar 1999, Martin Husemann wrote:
> Ignatios Souvatzis wrote:
> > DELAY tends to be a macro, while delay tends to be a function call.
>
> Yes, I see, but given the nature of that call (take some time), does it make
> sense to have an inline version at all?
Yes. vaxen. subroutine calls are hideously slow, and can take up to 100
cycles, according to Jason. :-)
> Is it a matter of how much microseconds we are dalaying? I.E. should
> "DELAY(10)" be used, but "delay(1000)"?
Probably.
Take care,
Bill