Page 1 sur 1

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

Message non luPosté: 13 Aoû 2020, 15:06
de nspiredev500
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

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

Message non luPosté: 15 Aoû 2020, 20:15
de Adriweb
Good job :D