π
<-
Chat plein-écran
[^]

Learn ARM assembly with the TI-Nspire and n-as

Nouveautés, projets, mises à jour.

Learn ARM assembly with the TI-Nspire and n-as

Unread postby nspiredev500 » 13 Aug 2020, 15:06

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
Attachments
n-as.tns
(15.15 KiB) Downloaded 18 times
n-as.luax.tns
(174.02 KiB) Downloaded 16 times
User avatar
nspiredev500
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 0%
 
Posts: 12
Joined: 03 Jul 2020, 12:22
Gender: Not specified
Calculator(s):
GitHub: nspiredev500

Re: Learn ARM assembly with the TI-Nspire and n-as

Unread postby Adriweb » 15 Aug 2020, 20:15

Good job :D
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 55.5%
 
Posts: 13078
Images: 1087
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
Twitter: adriweb
GitHub: adriweb

Re: Learn ARM assembly with the TI-Nspire and n-as

Unread postby kodedo » 05 Sep 2020, 15:38

I find it really interesting thanks for sharing
User avatar
kodedo
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 0%
 
Posts: 2
Joined: 05 Sep 2020, 15:33
Gender: Not specified


Return to Actualités

Who is online

Users browsing this forum: No registered users and 8 guests

-
Search
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Découvre les nouvelles fonctionnalités en Python de l'OS 5.2 pour les Nspire CX II
Découvre les nouvelles fonctionnalités en Python de l'OS 5.5 pour la 83PCE/84+C-T Python Edition
Omega, le fork étendant les capacités de ta NumWorks, même en mode examen !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...

Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
884 utilisateurs:
>861 invités
>18 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)

-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)