| Deutsch English Français Italiano |
|
<vpn7c5$3osdj$1@paganini.bofh.team> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: antispam@fricas.org (Waldek Hebisch)
Newsgroups: alt.folklore.computers,comp.os.linux.misc
Subject: Re: The joy of FORTRAN
Date: Wed, 26 Feb 2025 14:10:15 -0000 (UTC)
Organization: To protect and to server
Message-ID: <vpn7c5$3osdj$1@paganini.bofh.team>
References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks> <vpl5uk$hhk$3@reader1.panix.com> <vpl91g$25q46$1@dont-email.me> <1976765442.762208809.808387.peter_flass-yahoo.com@news.eternal-september.org> <20250225130315.00004e34@gmail.com> <lhqvP.1323465$if26.592741@fx13.iad> <20250225132209.00006cdd@gmail.com> <1517019530.762216070.153616.peter_flass-yahoo.com@news.eternal-september.org> <vpli68$26ur1$6@dont-email.me> <m279f5Fqfb5U5@mid.individual.net>
Injection-Date: Wed, 26 Feb 2025 14:10:15 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3961267"; posting-host="WwiNTD3IIceGeoS5hCc4+A.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.3
In alt.folklore.computers rbowman <bowman@montana.com> wrote:
> 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
>> <https://bitbucket.org/ldo17/crosscode8/src/master/>. 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
I am not sure what you find obscure? ARM assembly is a pretty
conventional assembly. Somewhat nasty is limited range of
constants and offsets. Thumb subset is reduced and depending
on exact dialect may lack some instructions which are present
on other machines. Also, Cortex M0 (quite popular target)
theoretically has 15 usable registers, but in practice it is
more like 8 general purpose registers + stack pointer + link
register.
Using assembly from Micro Python leads to somewhat different syntax,
it that bothers you use it normal assembly.
I would say that every IBM mainfaimer should feel at home
using ARM assembly: ARM lacks baroque things like SS instructions,
but core is similar.
--
Waldek Hebisch