This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
; comment - not indentedlabel: ; not indented code1 ; indented 2 spaces code2 ; indented 4 spaceslable2: ; not indented
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
; blink.s - blink user LED on Luminary Micro EV-LM3S811 (Cortex-M3) AREA TEXT, CODE, READONLY CODE16 ; vector table DCD 0x20002000 DCD Reset_Handler DCD iloop DCD iloop ; start the program hereReset_Handler EXPORT Reset_Handler ; initialize GPIO port C, pin 5 as outputRCGC2 EQU 0x400FE108 ; run-mode clock gating control 2RCGC2_PORTC EQU 1 <2 ; PORTC clock enable ldr r0, =RCGC2 ldr r1, =RCGC2_PORTC str r1, [r0]GPIODIR_PORTC EQU 0x40006400GPIO_PC5 EQU 1 <5 ldr r0, =GPIODIR_PORTC ldr r1, =GPIO_PC5 str r1, [r0]GPIODATA_PORTC EQU 0x40006000 ldr r0, =GPIODATA_PORTC + (GPIO_PC5 <2)loop ldr r1, =GPIO_PC5 str r1, [r0] ldr r2, =10000001 subs r2, r2, #1 bne %1 ldr r1, =0 str r1, [r0] ldr r2, =10000001 subs r2, r2, #1 bne %1 b loop ; and do it again ; an infinite loop in place of real exception handlersiloop b iloop ; the end END[end-of-file]
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.