Re: amd64 missing addressing modes

Bernd Paysan <[email protected]> Wed, 26 Aug 2020 21:25:21 +0200
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <4482510.yXaITcX0Wn@liubei>
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.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAl9GtyEACgkQ9y2Uk5Mt
oGcl/Q/8Dnd47jdjyw5VOFZmVVGZndtRkjyQkHO4gU72rvlO480Q1joHgN+TNo4+
e60dm8kHVuGDdpDKc4GLXJ0UVMZtFKB0lGc4giBX9orOXTNvXmZBtYGkBIWJt+bB
e9eMKtLMUKuduhjdgRNIJBt1yMrP7zW/JD2+sqyJ/Ng0hqmRpON67mINfJyzLFmM
LIQZeStcz9D57FuuJ53BsXXXuMaH+sPSkZs5X12ssivmVFT8juvSwthCIai1GgYg
UN7jJej4JORBkD3ke/1oS2xxenuGIZVyc69TwV7EUGtr1pKSeBWCtF0akxw3gYrT
XeFmqmVks8CgYhitDiBRRsgY1jQorkvE8kUMupDAo8PqHg72GhmdmH46Au+ZHeVM
WRbmYFsvx/RGarBwSeZke35kw/HecCB68BxB4OCgaDayg9JBIB9U6pgNkBxGMOKD
ehJloHLIo4Fd03L1wgYiiFLdY4w7nHexfXqKSwN+L6dbaUU1vsWzXQscCYL4Krmb
tCKrMYZ7Fw+q7f9biUh8pIX3/5mpfLEcYtl3cu8mXsD6/PswZuXpcI+QGWIkDmcl
cvOL5FD+rAP/J67HdRogqI4yrTB34UODkuqZPtBDUwhnLZk7lfx1P+qe6btVQUxc
e7PAgKoFqRh5/drfZmVsDBIqSCdMo6pAvevYfEM+gb5gfqdHJE0=
=jNji
-----END PGP SIGNATURE-----