Assembly Language Programming
Jump to navigation
Jump to search
Useful Links for the Assembly Language Programming Class
ARM7 Links
- Dr. Aamodt's Assembly Language Web Page
- ARM Assembly Language Programming, a free book by Knaggs and Welsh (2004 Edition). This book is quite useful. It is a better as a reference than our text.
- Another text in html format.
- The ARM Instruction Set, a good reference work.
- Knaggs and Welsh (2008 Edition).
- ARM Instruction Set Quick Finder
- ARM Instructions Quick Reference Card
- Keil ARM Assembler Manual
- This reference tells in more detail what happens to the flags, etc. for each instruction.
- Bit Operations Explained
- Code Examples from Class
- Using the I/O on the LPC2148
- I2C Interfacing and comparison of serial protocols
- The ARM Info Center is a good reference site.
- The ARM7 Reference Manual is the go to reference.
- The Embedded Arts Board of Education Reference Manual gives the details of the board we are using in class.
- LPC214x Reference Manual This guide is immensely useful for programming the peripherals.
- ARM Compiler Toolchain Reference Manual
- ARM Reference Manual Section A of this manual is the most use.
Raspberry Pi
Depending on the version, your pi may use ARM6 or ARM7. There are actually quite a lot of good assembly language information for programming the raspberry pi.
- This document shows how to use gnu tools from the command line (even over ssh if you have no display handy) and then how to use the Code::Blocks IDE for Raspberry Pi Assembly programming. This also seems to apply to the Odroid boards running Ubuntu.
TI MSP430 Links
- MSP430 Family Details This is a good quick overview of the MSP430.
- A MSP430 Assembly Language Tutorial
- Instruction Set Quick Reference Guide
- Addressing Modes of the MSP430
- MSP430 Software Coding Techniques (best practices for low power consumption)
- ECE382, a good self learning site for the MSP430
- A good PowerPoint presentation from University of Texa, El Paso, EE3376
- Using Port Pin Interrupts
- TimerA Presentation
- MSP430 Assembly Code Examples from Class
- MSP430 Microcontroller Basics, by John Davies
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
- Some notes on getting the GCC compiler to work with the CC3100....
- An Example of Assembly with the GCC Compiler
- Generate the assembly code with GCC
- Inline Assembly with GCC
Evaluation Board Data
CC3100 SimpleLink Wi-Fi Family
- CC3100 BoosterPack Getting Started Guide
- A link to the Internet of Things Whitepaper
- CC3100 Data Sheet
- Getting Started With the CC3100 There is a nice video tutorial on this page.
- Linux and the CC3100
- Here are the files for compiling SimpleLink using the GCC compiler.
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.