Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: alt.folklore.computers,comp.os.linux.misc Subject: Re: The joy of FORTRAN Date: 26 Feb 2025 01:35:33 GMT Lines: 18 Message-ID: References: <1smdnSjX3YoxgWf7nZ2dnZfqn_idnZ2d@earthlink.com> <1396870532.749421730.052473.peter_flass-yahoo.com@news.eternal-september.org> <1976765442.762208809.808387.peter_flass-yahoo.com@news.eternal-september.org> <20250225130315.00004e34@gmail.com> <20250225132209.00006cdd@gmail.com> <1517019530.762216070.153616.peter_flass-yahoo.com@news.eternal-september.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net U90kfISwM1wbks+X7GsBiQVx+gkcdCesqV5dsNeu2nNxrDaxBi Cancel-Lock: sha1:4Wqt4jLZ+lPBJwkwyC2xMSHnJ6o= sha256:zeJObByTLM7nylV4yMwKQcH/pE2waLCjagT+O9xNETs= User-Agent: Pan/0.160 (Toresk; ) Bytes: 2078 On Tue, 25 Feb 2025 23:02:32 -0000 (UTC), Lawrence D'Oliveiro wrote: > I did once toy with the idea of, not quite a cross-assembler, but the > use of Python constructs to generate code > . This tried to do > automatic handling of the necessary adjustments of addresses across page > boundaries; I think the algorithm works, though I never tested it very > thoroughly. This is pretty obscure: https://docs.micropython.org/en/v1.11/reference/asm_thumb2_hints_tips.html There is also a more specialized technique for writing custom programmable I/O code. https://ifx-micropython.readthedocs.io/en/v0.9.0/rp2/quickref.html