What Maarten thinks is correct;
When you save to the ASMformat, also the precompiled code is saved. So
if you load an ASMfile, the compilationprocess goes equally fast as when
you just typed it. :-) Loading and saving ASMfiles goes very fast (is
only a dump of the internal memorybuffers to disk).
On the other hand, when you load an ASCIIfile, then the loading process
takes a bit longer (I am not able to verify it yet), but that is in my
opinion not a big problem since you probably always use the ASMformat.
The ASCIIload/save is only there for exchangability with other
environments.
> - Use 8 bit JR when displacement fits in 8 bits, otherwise use 16 bit JR
that's just the big problem: the displacement can be dependent on the
fact if you will be using 8bit or 16bit JR! The snake that bites its
tail...
The same goes for DJNZ, but since almost all DJNZ jump to somewhere
before the DJNZ, the displacement is not dependent on the 8/16/24bit
type. So in that case it is possible to automatically choose the offset
type.
So I guess I will do it the easy way, and just introduce a new mnemonic
'JRR'.. or is 'JR16' better? since there is also 24bit JR 'JR24' ?
cu
Jon
Maarten ter Huurne wrote:
>
> On Thu, 14 Sep 2000, you wrote:
>
> > However: compiling 8000 lines in 2 seconds is a bit of a misindication. You
> > said it is compiled while editing. So the compilation time very much
> > depends on what you did before. If I boot Compass, load the 8000 lines and
> > then compile it, it will take much longer won't it?
>
> My guess is that the source is pre-compiled at loading time. So loading ASCII
> will take longer than before, but assembling it once it's loaded is fast. If
> you regularly use Compass, you can save in its native format and that
> probably loads real fast.
>
> Bye,
> Maarten
>
> ****
> Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
> ****
****
Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
****