I think the TI-Nspire series is great for learning programming, but I always wished I could write and test native programs directly on the calculator.
This is n-as, a on-calc ARM assembler powered by Ndless.
This is inspired by the people who ported XPicoC to Nspire-Lua. XPicoC is a C interpreter.
My goal is to also write a C compiler for the Nspire, which uses my assembler.
The document includes a small introduction into the ARM architecture and ARM assembly.
There are also 3 small demo programs, an instruction list and a instruction searcher, so you can look up instruction you don't know.
But since ARM is RISC (reduced instruction set computing), there isn't much to learn anyways.
Advanced instructions are disabled by default and have to be enabled in the options, so you can't accidentally use them.
In the options you can also switch between hexadecimal and decimal representation for the register and stack values.
Now you can feel like a "real programmer" while showing your friends the demo programs .
For now, all the text is in english. Perhaps I could give someone who can translate it all the strings and put it back together with french strings?
WARNING: If your code has bad mistakes, it can crash your calculator. Normally it just loses the unsafed document and the scratch pad content. So safe it before running your programs.
I would advise you to practice a bit in the firebird emulator.
https://github.com/nspiredev500/nspire-lua/releases/tag/n-asv1.0
Learn ARM assembly with the TI-Nspire and n-as
Voir le premier message non lu • 2 messages
• Page 1 sur 1
Learn ARM assembly with the TI-Nspire and n-as
- Fichiers joints
-
- n-as.tns
- (15.15 Kio) Téléchargé 114 fois
-
- n-as.luax.tns
- (174.02 Kio) Téléchargé 99 fois
Lua io and os libraries: https://github.com/nspiredev500/nspire-lua
OSExt: https://github.com/nspiredev500/OSExt
n-as on-calc assembler: https://github.com/nspiredev500/nspire- ... g/n-asv1.0
OSExt: https://github.com/nspiredev500/OSExt
n-as on-calc assembler: https://github.com/nspiredev500/nspire- ... g/n-asv1.0
-
nspiredev500
Niveau 4: MC (Membre Confirmé)- Messages: 17
- Inscription: 03 Juil 2020, 12:22
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: nspiredev500
Re: Learn ARM assembly with the TI-Nspire and n-as
Good job
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14617
- Images: 1218
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
2 messages
• Page 1 sur 1
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 69 invités