Dear All I have to build an application that uses LM3S8962 Microcontroller from Texas Instruments to control the speed and direction of dc motor. As i am new to microcontroller programming and is much confused as how to start. Could anyone please tell how can i start to write the program. Also please tell will i have to study the technical manual and assembly language instructions of the microcontroller. Can i get their C equivalent commands and functions etc. I will really appreciate your suggestions. The requirement is urgent.
No C programmer would ever ask of the corresponding C code to add two numbers. That is like a person with a driving license asking if they should steer the car with the wheel or with the gear shifter.
If you have found any DSP algorithm coded in assembly, it might be meaningful to discus that specific code sequence. What it actually does. But a C programmer don't need to ask how to perform something as trivial as to add two numbers together. And a C programmer would know that a C program would normally not need any access to any registers, since the compiler will supply the mapping from C variables into processor registers.
Back to the drawing board, and try to reformulate exactly where you are stuck and what you _need_ help with.