π
<-
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 115 times
n-as.luax.tns
(174.02 KiB) Downloaded 100 times
User avatar
nspiredev500
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 16%
 
Posts: 17
Joined: 03 Jul 2020, 12:22
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: nspiredev500

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

Unread postby Adriweb » 15 Aug 2020, 20:15

Good job :D
Image

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...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.6%
 
Posts: 14645
Images: 1218
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb


Return to Actualités

Who is online

Users browsing this forum: No registered users and 3 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
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.
1066 utilisateurs:
>998 invités
>63 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)