Re: [colorforth] CF variables to store their adress in A register ?
- Subject: Re: [colorforth] CF variables to store their adress in A register ?
- From: <maslicke@xxxxxxxxxxx>
- Date: Wed, 23 Jun 2004 11:42:07 -0400
---- Original message ----
>Date: Wed, 23 Jun 2004 16:11:22 +0200
>From: Frédéric DUBOIS<frederic.dubois@xxxxxxxxxxxxx>
>Subject: [colorforth] CF variables to store their adress in
A register ?
>To: "'colorforth@xxxxxxxxxxxxxxxxxx'"
<colorforth@xxxxxxxxxxxxxxxxxx>
>
>
> Hello,
>
>Why CF variables do not directly store their address in the
A register,
>instead of pushing it on the data stack ?
>
If c18 virtual machine is considered, there is no instruction
to load an address directly to the A register. On pentium,
@ ! a! are optimized for literal values, so loading the
variable address into the A register provides no benefit.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com