Search the Community
Showing results for tags 'assembly'.
Found 7 results
simple asm code example in energia?
andersond posted a topic in Energia - MSPIs it possible to use asm in energia? I would like to see some short and simple example of how to use it and compile it. I found THIS very nice and useful guide to make it work in code composer studio, but unfortunalley I could not put this code it to work in Energia, and I dont have CCS.. (I downloaded the version 7, but for some reason it did not install, just give errors, tried in 2 pcs) In the other hand, I found something about asm in Energia here in the forum, but is was intended for a more complex stuff, and I could not put it to work, too.. Could someone give me a light?
msp430: how to wait one second in assembly?New to msp430. I trying to make it buzz a tone through a piezo speaker I have plugged into 1.4. I want it to change pitch a few times but can't figure out to control the duration. How can I make the tone hold for one sec before incrementing? Here's the code I've written so far. I'm trying to do the increment in a loop. #include "msp430.h" ; #define controlled include file NAME main ; module name PUBLIC main ; make the main label vissible ; outside this module
music with assembly languageI'm new to the msp430 and I want to make it play a song through a speaker when I push the button. However, I want to do this with assembly code and not in C. I am using IAR embedded workbench to do my programming. I'm connecting a speaker directly to the msp430 at p1.3 and ground. Are there any tutorials on how to do this? Or any assembly code I could look at that does something similar? I looked through the forum topics but could not find anything that matched with what I'm trying. thanks, alanaxis
Best IDE/system for assembly programming?
Willsy posted a topic in Compilers and IDEsJust wondering what people here would recommend for programming MSP430's in assembler? I'm new to the MSP and all the various devices and I'm new (and a little lost) to all the tools. CCS, IAR, Energia. My head is swimming at the moment! I'm an experienced assembly language coder. Thanks Willsy
Alignment in Thumb Assembly
CarrotCake posted a topic in GeneralI'm currently working with a Cortex-M0, which implements a subset of the thumb instruction set. As a learning exercise, I decided to just implement a "blinky" project in assembly, in which I was ultimately successful, but with an unanswered question. Apparently there are some instruction alignment requirements, but I don't seem to know about them, or how to find out about them. Is there a good resource for this? I'm relatively new to assembly programming, but these intricacies are what tend to hold me up. My assembler (gcc arm toolchain) would spit out dozens of errors about alignme
Hi there, I have a Stellaris launchpad LM4F120, and i'm trying to get an assembly language UART example to work. I used Valvano's example project for keil found here: http://users.ece.utexas.edu/~valvano/arm/ file name: UART2_4F120asm.zip This example uses UART0, and it works fine. I can also adapt this code to use UART1 and UART2 with no problems, by simply appropriately changing macro values as can be seen in this register definition file: http://users.ece.utexas.edu/~valvano/arm/lm4f120.s However, I wish to use UART7, and the trouble lies in that there is no definition for
Stellaris launchpad LM4F120 - initialize UART in assembly
ali1426459934 posted a topic in GeneralHi there, I'm pretty new to the world of ARM microprocessors ,having recently started with the Stellaris launchpad LM4F120. I wish to send data from the microcontroller over a serial interface to be read with a terminal program such as Putty. The trouble is, I have not been able to find any resources on the internet that would help me initialize and use UART in the assembly language. Any help in the form of links to simple tutorials or example code snippets would be greatly appreciated. Thanks.