Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: Matrefeytontias on March 10, 2013, 05:02:14 pm

Title: [Ndless] Can't make a "hello world" work !
Post by: Matrefeytontias on March 10, 2013, 05:02:14 pm
Hi guys,

I recently decided to try out ARM9 assembly for the Nspire, so I wrote a simple "hello world" program ... which I can't even compile.

Here's the code : http://pastebin.com/ReRUv7ED

It seems to compile normally, but on the Nspire nor on nspire_emu it doesn't do anything. Not even crashing. Weird.

So, can someone explain me how to setup the assembly environment correctly and with the latest version of Ndless, so that it'll work properly ?

I also noticed that even hella.tns (an ASM version of hello world, in Ndless's "Samples" directory) didn't work neither on CX or non-CX.
Title: Re: [Ndless] Can't make a "hello world" work !
Post by: Matrefeytontias on March 11, 2013, 04:11:24 am
Never mind, I just totally forgot that
Code: [Select]
puts() writes on the RS232 port, not the screen <_<
/me is a dumbass
Title: Re: [Ndless] Can't make a "hello world" work !
Post by: aeTIos on March 11, 2013, 06:06:01 am
you have to use printf()
Title: Re: [Ndless] Can't make a "hello world" work !
Post by: Matrefeytontias on March 11, 2013, 06:26:35 am
It's the same. RS232 output.