gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: amd64 missing addressing modes


From: anthony
Subject: Re: amd64 missing addressing modes
Date: Wed, 26 Aug 2020 22:25:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]