Re: amd64 missing addressing modes

anthony <[email protected]> Wed, 26 Aug 2020 22:25:18 +0100
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <[email protected]>
Great, thanks!
Will it be in the next git release?

Is it known which registers can be used as scratch registers?
I assume CX, DX, SI, DI, R8..R15?

=======================

On 26/08/2020 20:25, Bernd Paysan wrote:
> Am Mittwoch, 26. August 2020, 17:34:22 CEST schrieb anthony:
>> Thanks, your approach to test it in design time is great! and the
>> assurance there is no syntax error. This brings me miles ahead.
> I found the problem: amd64 uses this addressing mode as 64 bit immediate
> address to AX move.  It is only a problem if you move to AX.
>
> I added some code to fix it, the solution is to add an offset 0 if it is this
> move.
>