Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

LM3S8962 Basic Assembly Project

$
0
0

Hi All,

I am trying to get a simple assembly language program setup in Code Composer 5. I have the option to start an empty assembly language project. And I am trying something very simple:

                  .text

start:         ld   r0,#2

                  ld    r1,#3

                  add r2,r1,r0

stop:          b stop

It's as simple as it gets. But I can't get it to compile properly. It keeps complaining about stack and other stuff as well.

I know that I am missing something very simple. The stack for once that needs to be initialized. And maybe some other stuff too.

All I am trying to do is get some very simple assembly code up and running and debug it on my LM3S8962 board.

Any help is greatly appreciated.

Thanks! 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>