- 1、本文档共11页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
STM32F107 SCHWESER STUDY NOTES
;******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
;* File Name : startup_stm32f10x_cl.s
;* Author : MCD Application Team
;* Version : V3.3.0
;* Date : 04/16/2010
;* Description : STM32F10x Connectivity line devices vector table for RVMDK
;* toolchain.
;* This module performs:
;* - Set the initial SP
;* - Set the initial PC == Reset_Handler
;* - Set the vector table entries with the exceptions ISR address
;* - Configure the clock system
;* - Branches to __main in the C library (which eventually
;* calls main()).
;* After Reset the CortexM3 processor is in Thread mode,
;* priority is Privileged, and the Stack is set to Main.
;* Use Configuration Wizard in Context Menu
;******************************************************************************
*
; THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING
CUSTOMERS
; WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM
TO SAVE TIME.
; AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
DIRECT,
; INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS
ARISING FROM THE
; CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
CODING
; INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
;******************************************************************************
*
; Amount of memory (in bytes) allocated for Stack
; Tailor this value to your application needs
; h Stack Configuration
; o Stack Size (in Bytes) 0x0-0xFFFFFFFF:8
; /h
Stack_Size EQU 0//定义堆栈空间大小为 0AREA STACK, NOINIT, READWRITE, ALIGN=3
//定义一个数据段,按 8 字节对齐
CHENGEHEFEI
Chenge625@126.com
- 1 -
STM32F107 SCHWESER STUDY NOTES
//AREA: 伪指令用于定义一个代码段或数据段
//NOINIT:指定此数据段仅仅保留了内存单元
//而没有将各初始值写入内存单元
//或者将各个内存单元值初始化为 0
//READWRITE: 代表可读可写
//ALIGN: 对齐伪指令 ALIGN
//指令格式: ALIGN Num
//指令格式: ALIGN = Dat
//Num 必须是 2 的幂,如:2、4、8 和 16 等
//Dat 代表 2 的 Dat 次方运算,Dat=3 则 Num=8
//作用:数据段必须严格按照 Num 字节对齐
Stack_Mem SPACE Stack_Size
//保留 S
文档评论(0)