• How to use SWI names in GCC (was: Re: Learning ARM machine code)

    From Alexander Ausserstorfer@3:633/10 to All on Saturday, July 18, 2026 15:11:21
    In article <5c2cea6fccbavariasound@chiemgau-net.de>,
    Alexander Ausserstorfer <bavariasound@chiemgau-net.de> wrote:

    I put it now here:

    http://home.chiemgau-net.de/ausserstorfer/Computer/Kurs.pdf (27 kB)

    Because the old provider stopped the service, I put now everything to

    https://ausserstorfer.4lima.de/Computer/index.html

    (I'm afraid because of the s in the http but this service is for free.)

    I have a question to (not finish yet) part 4 of the script.

    For writing page four of part 4 I tried to call the SWI Hourglass_On by
    GCC. I don't found out to do this. I think I have to make the name
    first known to the GCC before calling it but how is to do this? I
    already was be able to compile the mnemonic "swi 0x406C0" with GCC.

    Assembler is complicate. Because you will need a tool to do that. And
    Acorn Assembler (DDE) isn't GCC!

    Thanks in advance,

    Alex

    --
    https://ausserstorfer.4lima.de

    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Jean-Michel@3:633/10 to All on Sunday, July 19, 2026 09:23:48
    In message <5cfa55a573alexander.ausserstorfer@eclipso.at>
    Alexander Ausserstorfer <alexander.ausserstorfer@eclipso.at>
    wrote:

    In article <5c2cea6fccbavariasound@chiemgau-net.de>,
    Alexander Ausserstorfer <bavariasound@chiemgau-net.de> wrote:

    I put it now here:

    http://home.chiemgau-net.de/ausserstorfer/Computer/Kurs.pdf (27 kB)

    Because the old provider stopped the service, I put now everything to

    https://ausserstorfer.4lima.de/Computer/index.html

    (I'm afraid because of the s in the http but this service is for free.)

    I have a question to (not finish yet) part 4 of the script.

    For writing page four of part 4 I tried to call the SWI Hourglass_On by
    GCC. I don't found out to do this. I think I have to make the name
    first known to the GCC before calling it but how is to do this? I
    already was be able to compile the mnemonic "swi 0x406C0" with GCC.

    Assembler is complicate. Because you will need a tool to do that. And
    Acorn Assembler (DDE) isn't GCC!

    Thanks in advance,

    Alex

    Bonjour Alex
    Je ne connais pas suffisamment GCC surtout l'assembleur pour vous
    r?pondre.
    Vous avez le DDE?
    Il fonctionne tr?s bien, je n'ai pas de probl?me avec l'assembleur.

    Basic + assembleur est une bonne option, (c'est la raison qui m'a fait
    choisir les machines Acorn)

    Un livre que j'utilise souvent:
    https://www.pagetable.com/?p=68

    D?sol? pour GCC!
    Bonne journ?e.


    --
    Jean-Michel

    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Alexander Ausserstorfer@3:633/10 to All on Sunday, July 26, 2026 14:26:25
    In article <eca9b9fa5c.jmb@jmc.bruck.orange.fr>,
    Jean-Michel <jmc.bruck@orange.fr> wrote:

    Bonjour Alex
    Je ne connais pas suffisamment GCC surtout l'assembleur pour vous
    r?pondre.

    Peut-?tre que OSlib marche avec l'assembleur du GCC. J'ai oubli? ?a.

    Vous avez le DDE?

    J'ai le DDE aussi, oui. Mais ce n'est pas une solution pour moi. Le but,
    ce n'est pas faire du code pour faire un logiciel qui marche. Le but,
    c'est ? comprende le code du ARM, le GCC, le DDE et BASIC BBC, en
    comparasion. J'?cris sur cela qu'on peut trouver sur mes pages du web.

    Je suis convaincu pour apprendre quelque chose il faut le faire la
    premi?re fois ? LA MAIN (ou marcher ? pied). Veux dire ? la premi?re
    fois on ne doit pas utilisier un automatisme comme un compilateur ou
    comme une auto. Et c'est pourquoi les gens aujourd'hui ne peuvent pas programmer convenablement.

    Alex

    --
    https://ausserstorfer.4lima.de

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Jean-Michel@3:633/10 to All on Sunday, July 26, 2026 16:19:57
    In message <5cfe724c93alexander.ausserstorfer@eclipso.at>
    Alexander Ausserstorfer <alexander.ausserstorfer@eclipso.at>
    wrote:

    In article <eca9b9fa5c.jmb@jmc.bruck.orange.fr>,
    Jean-Michel <jmc.bruck@orange.fr> wrote:

    Bonjour Alex
    Je ne connais pas suffisamment GCC surtout l'assembleur pour vous
    r?pondre.

    Peut-?tre que OSlib marche avec l'assembleur du GCC. J'ai oubli? ?a.

    Vous avez le DDE?

    J'ai le DDE aussi, oui. Mais ce n'est pas une solution pour moi. Le but,
    ce n'est pas faire du code pour faire un logiciel qui marche. Le but,
    c'est ? comprende le code du ARM, le GCC, le DDE et BASIC BBC, en comparasion. J'?cris sur cela qu'on peut trouver sur mes pages du web.

    Je suis convaincu pour apprendre quelque chose il faut le faire la
    premi?re fois ? LA MAIN (ou marcher ? pied). Veux dire ? la premi?re
    fois on ne doit pas utilisier un automatisme comme un compilateur ou
    comme une auto. Et c'est pourquoi les gens aujourd'hui ne peuvent pas programmer convenablement.

    Alex
    Merci pour votre Fran?ais, mais sur la liste il vaut peut ?tre mieux
    continuer en Anglais.

    Thank you for your French, but on the list it might be better to continue
    in English.

    I think the right solution for what you want to do is to use the BASIC assembler as you have on page 10 of your PDF document n?3
    With for pass% = 0 to n step 1, you get all the construction steps and the associated code.
    I use this method to check for changes I need to make on disassembled code (thanks David for ARMalyser), I'm trying to update some good old programs.

    I have another book Archimedes Assembly Language (Mike Ginns, a Dabhand Guide), it still helps me.

    --
    Jean-Michel

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Alexander Ausserstorfer@3:633/10 to All on Saturday, August 01, 2026 16:56:05
    In article <239d7afe5c.jmb@jmc.bruck.orange.fr>,
    Jean-Michel <jmc.bruck@orange.fr> wrote:

    Merci pour votre Fran?ais, mais sur la liste il vaut peut ?tre mieux continuer en Anglais.

    When it is bearable to you. My marks in English was always 4 - 5.

    A.

    --
    https://ausserstorfer.4lima.de

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)