Assembly Language Programming: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
Line 39: Line 39:
*[http://www.ti.com/lit/ug/slau131i/slau131i.pdf Assembly Language Tools] This manual also has some good data on the linker, including the section "Using Linker Symbols in C/C++ Applications".
*[http://www.ti.com/lit/ug/slau131i/slau131i.pdf Assembly Language Tools] This manual also has some good data on the linker, including the section "Using Linker Symbols in C/C++ Applications".
*[http://www.ti.com/lit/ug/slau132j/slau132j.pdf MSP430 Optimizing C/C++ Compiler] (See Section 6.5 and following for how to mix C/C++ and Assembly. It is really best to read the entire chapter though, as it is all pertinent to mixing C and Assembly. It will also help you if you want to program in C, as it tells how the C compiler uses the memory, the stack, the registers, etc., and once you understand the processor as you learn to do when you learn its assembly language, it is very interesting to see how that all works in C.)
*[http://www.ti.com/lit/ug/slau132j/slau132j.pdf MSP430 Optimizing C/C++ Compiler] (See Section 6.5 and following for how to mix C/C++ and Assembly. It is really best to read the entire chapter though, as it is all pertinent to mixing C and Assembly. It will also help you if you want to program in C, as it tells how the C compiler uses the memory, the stack, the registers, etc., and once you understand the processor as you learn to do when you learn its assembly language, it is very interesting to see how that all works in C.)
=====GCC Compiler=====
*[http://e2e.ti.com/support/wireless_connectivity/f/968/p/388802/1373125#1373125 Some notes on getting the GCC compiler to work with the CC3100....]
*[https://gist.github.com/RickKimball/1303030 An Example of Assembly with the GCC Compiler]
*[http://mspgcc.sourceforge.net/manual/x1522.html Generate the assembly code with GCC]
*[http://mspgcc.sourceforge.net/manual/c1308.html Inline Assembly with GCC]
**[https://gist.github.com/RickKimball/1643162 An Example of Inline Assembly with GCC]


====Evaluation Board Data====
====Evaluation Board Data====

Revision as of 21:17, 14 December 2014

Useful Links for the Assembly Language Programming Class

ARM7 Links

TI MSP430 Links

Toolchain

  • Code Composer Studio 6 for MSP430 User's Guide
  • Assembly Language Tools This manual also has some good data on the linker, including the section "Using Linker Symbols in C/C++ Applications".
  • MSP430 Optimizing C/C++ Compiler (See Section 6.5 and following for how to mix C/C++ and Assembly. It is really best to read the entire chapter though, as it is all pertinent to mixing C and Assembly. It will also help you if you want to program in C, as it tells how the C compiler uses the memory, the stack, the registers, etc., and once you understand the processor as you learn to do when you learn its assembly language, it is very interesting to see how that all works in C.)
GCC Compiler

Evaluation Board Data

CC3100 SimpleLink Wi-Fi Family

Robot Information

  • HSR-1425CR Continuous Rotation Servo Datasheet
  • Schematics These are rather crude schematics of the robot circuit board. There are two cuts and jumps that are not reflected, at least on the last one. The effect is to change the photo transistors from a common emitter to a common collector configuration. You can see the change scratched in just below the word Fairchild on the hand drawn schematic. Basically the resistor and photo transistor are reversed in order. I believe both photo transistors are swapped to common collector configuration.