亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? cstartup.lst

?? 國外LPC2000系列的一些源程序,請大家快快下載
?? LST
?? 第 1 頁 / 共 2 頁
字號:
   1              	# 1 "Compil/srcWinARM/Cstartup.S"
   2              	# 1 "<built-in>"
   1              	/*------------------------------------------------------------------------------
   0              	
   0              	
   2              	//*-         ATMEL Microcontroller Software Support  -  ROUSSET  -
   3              	//*------------------------------------------------------------------------------
   4              	//* The software is delivered "AS IS" without warranty or condition of any
   5              	//* kind, either express, implied or statutory. This includes without
   6              	//* limitation any warranty or condition with respect to merchantability or
   7              	//* fitness for any particular purpose, or against the infringements of
   8              	//* intellectual property rights of others.
   9              	//*-----------------------------------------------------------------------------
  10              	//*- File source          : Cstartup.s
  11              	//*- Object               : Generic CStartup for KEIL and GCC
  12              	//*- Compilation flag     : None
  13              	//*-
  14              	//*- 1.0 18/Oct/04 JPP    : Creation
  15              	//*- 1.1 21/Feb/05 JPP    : Set Interrupt
  16              	//*- 1.1 01/Apr/05 JPP    : save SPSR 
  17              	//*
  18              	//*- WinARM/arm-elf-gcc-version by Martin Thomas - Modifications:
  19              	//*  remapping-support, vector-location, stack-position and more...
  20              	//*-----------------------------------------------------------------------------*/
  21              	
  22              	/* 
  23              	   20060902 (mth) : moved IRQ-Handler from section .vect* to 
  24              	                    .init/.fastrun
  25              	*/
  26              	
  27              	/* check configuration-options and map to "assembler symbols": */
  28              	
  29              	#ifdef ROM_RUN
  30              	.set RAM_MODE, 0
  31              	#ifdef VECTORS_IN_RAM
  32              	.set REMAP, 1
  33              	.set VECTREMAPPED, 1
  34              	#else
  35              	.set REMAP, 0
  36              	.set VECTREMAPPED, 0
  37              	#endif
  38              	#endif
  39              	
  40              	#ifdef RAM_RUN
  41              	.set RAM_MODE, 1
  42              	.set REMAP, 1
  43              	.set VECTREMAPPED, 0
  44              	#endif
  45              	
  46              	
  47              	.if (RAM_MODE)
  48              	.print "RAM_MODE enabled"
  49              	.else
  50              	.print "ROM_MODE enabled"
  51              	.endif
  52              	
  53              	.if (REMAP)
  54              	.print "remapping enabled"
  55              	.endif
  56              	
  57              	.if (VECTREMAPPED)
  58              	.print "Vectors at start of RAM"
  59              	.else
  60              	.print "Vectors at start of Code"
  61              	.endif
  62              	
  63              		.equ AIC_IVR,         (256) 
  64              		.equ AIC_FVR,         (260) 
  65              		.equ AIC_EOICR,       (304)
  66              		.equ AT91C_BASE_AIC,  (0xFFFFF000)
  67              	
  68              	/*------------------------------------------------------------------------------
  69              	//*- Exception vectors 
  70              	//*--------------------
  71              	//*- These vectors can be read at address 0 or at RAM address
  72              	//*- They ABSOLUTELY requires to be in relative addresssing mode in order to
  73              	//*- guarantee a valid jump. For the moment, all are just looping.
  74              	//*- If an exception occurs before remap, this would result in an infinite loop.
  75              	//*- To ensure if a exeption occurs before start application to infinite loop.
  76              	//*------------------------------------------------------------------------------*/
  77              	
  78              	.if (VECTREMAPPED)
  79              	.print "Vectors in section .vectmapped -> .data"
  80              	.section .vectmapped, "ax"
  81              	.else
  82              	.print "Vectors in section .vectorg -> .text"
  83              	.section .vectorg, "ax"
  84              	.endif
  85              	
  86 0000 3CF09FE5 				LDR     PC,Reset_Addr     	/* 0x00 Reset handler */    
  87 0004 3CF09FE5 				LDR     PC,Undef_Addr		/* 0x04 Undefined Instruction */
  88 0008 3CF09FE5 				LDR     PC,SWI_Addr			/* 0x08 Software Interrupt */
  89 000c 3CF09FE5 				LDR     PC,PAbt_Addr		/* 0x0C Prefetch Abort */
  90 0010 3CF09FE5 				LDR     PC,DAbt_Addr		/* 0x10 Data Abort */
  91 0014 0000A0E1 				NOP							/* 0x14 reserved  */
  92 0018 38F09FE5 				LDR     PC,IRQ_Addr			/* 0x18 IRQ	 */
  93              	fiqvec:									/* 0x1c FIQ	*/
  94              	/*------------------------------------------------------------------------------
  95              	//*- Function             : FIQ_Handler_Entry
  96              	//*- Treatments           : FIQ Controller Interrupt Handler.
  97              	//*- Called Functions     : AIC_FVR[interrupt] 
  98              	//*------------------------------------------------------------------------------*/
  99              	
 100              	FIQ_Handler_Entry:
 101              	
 102              	/*- Switch in SVC/User Mode to allow User Stack access for C code 	*/
 103              	/* because the FIQ is not yet acknowledged*/
 104              	
 105              	/*- Save and r0 in FIQ_Register */
 106 001c 0090A0E1 	            mov         r9,r0
 107 0020 040198E5 	            ldr         r0 , [r8, #AIC_FVR]
 108 0024 D3F021E3 	            msr         CPSR_c,#I_BIT | F_BIT | ARM_MODE_SVC
 109              	
 110              	/*- Save scratch/used registers and LR in User Stack */
 111 0028 0E502DE9 	            stmfd       sp!, { r1-r3, r12, lr}
 112              	
 113              	/*- Branch to the routine pointed by the AIC_FVR */
 114 002c 0FE0A0E1 	            mov         r14, pc
 115 0030 10FF2FE1 	            bx          r0
 116              	
 117              	/*- Restore scratch/used registers and LR from User Stack */
 118 0034 0E50BDE8 	            ldmia       sp!, { r1-r3, r12, lr}
 119              	
 120              	/*- Leave Interrupts disabled and switch back in FIQ mode */
 121 0038 D1F021E3 	            msr         CPSR_c, #I_BIT | F_BIT | ARM_MODE_FIQ
 122              	
 123              	/*- Restore the R0 ARM_MODE_SVC register */
 124 003c 0900A0E1 	            mov         r0,r9
 125              	
 126              	/*- Restore the Program Counter using the LR_fiq directly in the PC */
 127 0040 04F05EE2 	            subs        pc,lr,#4
 128              	
 129              	/* end of fiqhandler */
 130              	
 131 0044 28000000 	Reset_Addr:       .word     InitReset
 132 0048 5C000000 	Undef_Addr:       .word     Undef_Handler
 133              	/* SWI_Addr:         .word     SWI_Handler */
 134 004c 00000000 	SWI_Addr:         .word     SoftwareInterruptASM      /* in swi_handler.S */
 135 0050 60000000 	PAbt_Addr:        .word     PAbt_Handler
 136 0054 64000000 	DAbt_Addr:        .word     DAbt_Handler
 137 0058 00000000 	IRQ_Addr:         .word     IRQ_Handler_Entry
 138              	  
 139 005c FEFFFFEA 	Undef_Handler:  B       Undef_Handler
 140              	/* SWI_Handler:    B       SWI_Handler */
 141 0060 FEFFFFEA 	PAbt_Handler:   B       PAbt_Handler
 142 0064 FEFFFFEA 	DAbt_Handler:   B       DAbt_Handler
 143              	
 144              	
 145              	        .arm
 146              	        .section .init, "ax"
 147              	        .global _startup
 148              	        .func   _startup
 149              	_startup:
 150              	reset: 
 151              	
 152              	.if (VECTREMAPPED)
 153              	/* mthomas: Dummy used during startup */
 154 0000 F4F09FE5 					LDR PC,=Reset_Addr_F
 155 0004 0000A0E1 					NOP
 156 0008 0000A0E1 					NOP
 157 000c 0000A0E1 					NOP
 158 0010 0000A0E1 					NOP
 159 0014 0000A0E1 					NOP /*.word 0xdeadbeef*/ /* NOP */  /* Reserved Address */
 160 0018 0000A0E1 					NOP
 161 001c 0000A0E1 					NOP
 162 0020 28000000 	Reset_Addr_F:       .word     InitReset
 163              	.endif
 164              	
 165              	.RAM_TOP:
 166 0024 00000000 		.word	__TOP_STACK 
 167              	
 168              	InitReset:
 169              	
 170              	/*------------------------------------------------------------------------------
 171              	/*- Remapping
 172              	/*------------------------------------------------------------------------------*/
 173              	.if (VECTREMAPPED)
 174              			.print "RCR setting for remapping enabled"
 175              			.equ    MC_BASE,0xFFFFFF00  /* MC Base Address */
 176              			.equ    MC_RCR, 0x00        /* MC_RCR Offset */
 177              			
 178              	
 179              			/* store first word in RAM into r4 */
 180 0028 D0009FE5 			ldr r0,=__FIRST_IN_RAM
 181 002c 004090E5 			ldr r4,[r0]
 182              			/* load value at address 0 into R2 */
 183 0030 0010A0E3 			ldr r1,=0x00000000
 184 0034 002091E5 			ldr r2,[r1]	
 185              			/* xor value from address 0 (flip all bits), store in R3 */
 186 0038 0030E0E3 			ldr r3,=0xffffffff
 187 003c 033022E0 			eor r3, r2, r3
 188              			/* write xored value to first word in RAM 
 189              			if already remapped this will also change
 190              			the value at 0 */
 191 0040 003080E5 			str r3,[r0]
 192              			/* load from address 0 again into R3 */
 193 0044 003091E5 			ldr r3,[r1]
 194              			/* restore first value in RAM */
 195 0048 004080E5 			str r4,[r0]
 196              			
 197              			/* compare */
 198 004c 020053E1 			cmp r3, r2
 199 0050 0200001A 			bne already_remapped
 200              		
 201              			/* if both values have been equal the change of the
 202              			RAM-value had no effect on the value at 0x00000000 
 203              			so we are not remapping yet -> remap now: */
 204 0054 FF00E0E3 			LDR     R0, =MC_BASE
 205 0058 0110A0E3 			MOV     R1, #1
 206 005c 001080E5 			STR     R1, [R0, #MC_RCR]	
 207              			
 208              	already_remapped:
 209              	.endif
 210              	
 211              	
 212              	/*------------------------------------------------------------------------------
 213              	/*- Low level Init (PMC, AIC, ? ....) by C function AT91F_LowLevelInit
 214              	/*------------------------------------------------------------------------------*/
 215              	            .extern   AT91F_LowLevelInit
 216              	/*- minumum C initialization */
 217              	/*- call  AT91F_LowLevelInit( void) */
 218              	
 219 0060 44D01FE5 	            ldr     r13,.RAM_TOP            /* temporary stack in internal RAM (**) */
 220              	/*--Call Low level init function in ABSOLUTE through the Interworking	*/
 221 0064 98009FE5 	            ldr     r0,=AT91F_LowLevelInit
 222 0068 0FE0A0E1 	            mov     lr, pc
 223 006c 10FF2FE1 	            bx      r0
 224              	/*------------------------------------------------------------------------------
 225              	//*- Stack Sizes Definition
 226              	//*------------------------
 227              	//*- Interrupt Stack requires 2 words x 8 priority level x 4 bytes when using
 228              	//*- the vectoring. This assume that the IRQ management.
 229              	//*- The Interrupt Stack must be adjusted depending on the interrupt handlers.
 230              	//*- Fast Interrupt not requires stack If in your application it required you must
 231              	//*- be definehere.
 232              	//*- The System stack size is not defined and is limited by the free internal
 233              	//*- SRAM.
 234              	//*------------------------------------------------------------------------------*/
 235              	
 236              	/*------------------------------------------------------------------------------
 237              	//*- Top of Stack Definition
 238              	//*-------------------------
 239              	//*- Interrupt and Supervisor Stack are located at the top of internal memory in 
 240              	//*- order to speed the exception handling context saving and restoring.
 241              	//*- ARM_MODE_SVC (Application, C) Stack is located at the top of the external memory.
 242              	//*------------------------------------------------------------------------------*/
 243              	
 244              	          .EQU		IRQ_STACK_SIZE,    (3*8*4)
 245              	          .EQU		ARM_MODE_FIQ,       0x11

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产精品自在自线| 亚洲午夜羞羞片| 精品国产髙清在线看国产毛片| 日本久久精品电影| 色偷偷一区二区三区| 成人网页在线观看| 国产精品一区二区91| 国产精品一区二区久久不卡| 国产精品99久久久久久有的能看 | 日韩一区二区三区高清免费看看 | 激情伊人五月天久久综合| 裸体健美xxxx欧美裸体表演| 韩国理伦片一区二区三区在线播放| 久热成人在线视频| 丰满放荡岳乱妇91ww| 色综合久久久久| 91精品国产综合久久久久久漫画| 日韩欧美综合在线| 国产精品素人一区二区| 洋洋成人永久网站入口| 日韩精品视频网站| 国产美女视频一区| av一本久道久久综合久久鬼色| 色天天综合色天天久久| 欧美一区二区在线免费播放 | 亚洲精品久久7777| 日本不卡在线视频| 成人开心网精品视频| 欧美日韩亚洲综合一区二区三区| 欧美成人国产一区二区| 亚洲色图另类专区| 免费成人美女在线观看| 成人97人人超碰人人99| 欧美乱妇23p| 国产精品久久久久久福利一牛影视 | 欧美zozozo| 亚洲天堂2016| 国产自产视频一区二区三区| 在线视频你懂得一区| 久久综合色婷婷| 亚洲va韩国va欧美va精品| 国产盗摄视频一区二区三区| 欧美男同性恋视频网站| 国产精品天美传媒| 极品尤物av久久免费看| 欧美日韩国产精品成人| 中文字幕亚洲在| 国产成人在线视频网站| 欧美一级片免费看| 亚洲欧美日韩中文字幕一区二区三区| 久久精品二区亚洲w码| 欧美日韩色一区| 亚洲三级在线观看| 成人国产精品免费观看| 久久久亚洲综合| 久久99精品网久久| 欧美午夜电影一区| 亚洲日本丝袜连裤袜办公室| 日韩电影在线一区| 欧美亚男人的天堂| 国产精品久久综合| 成人高清免费观看| 国产欧美va欧美不卡在线| 加勒比av一区二区| 日韩视频免费直播| 日韩国产欧美在线观看| 欧美日韩国产综合久久| 自拍偷自拍亚洲精品播放| 国产真实乱对白精彩久久| 日韩欧美成人激情| 美国欧美日韩国产在线播放| 91精品国产综合久久久久久久| 亚洲天堂网中文字| 色综合久久久久综合99| 亚洲欧美一区二区三区极速播放| 懂色一区二区三区免费观看| 精品免费国产二区三区| 另类小说视频一区二区| 久久综合九色综合97婷婷 | 国产精品久久看| 国产精品一区二区果冻传媒| www国产精品av| 国产a级毛片一区| 中文字幕日韩一区二区| 成人18视频在线播放| 日韩美女视频一区| 欧美日韩午夜精品| 久久综合综合久久综合| 欧美日韩精品一区二区天天拍小说 | 色婷婷精品大在线视频| 亚洲综合在线第一页| 91精品国产91综合久久蜜臀| 狠狠色综合色综合网络| 国产精品毛片高清在线完整版 | 日本怡春院一区二区| 欧美一区二区三区在线观看| 日本不卡视频一二三区| 欧美另类一区二区三区| 国产精品一二三在| 亚洲区小说区图片区qvod| 在线观看91精品国产麻豆| 日韩国产欧美视频| 久久免费看少妇高潮| 不卡在线观看av| 天天色 色综合| 国产精品日韩成人| 欧美日韩一区二区欧美激情| 激情文学综合网| 一区二区理论电影在线观看| 欧美电影免费观看高清完整版在 | 日韩视频一区二区| 97国产精品videossex| 久久爱另类一区二区小说| 亚洲欧美日韩一区二区| 欧美一个色资源| 欧美系列亚洲系列| 国产一区二区在线观看免费| 亚洲综合在线五月| 欧美国产欧美亚州国产日韩mv天天看完整 | 久久亚洲综合色| 在线日韩一区二区| 风间由美性色一区二区三区| 日韩av中文字幕一区二区三区| 18成人在线观看| 2欧美一区二区三区在线观看视频| a4yy欧美一区二区三区| 国内久久精品视频| 日韩制服丝袜先锋影音| 亚洲日本青草视频在线怡红院| 精品久久久久久久久久久久久久久久久 | 91在线小视频| 激情小说欧美图片| 青娱乐精品视频在线| 中文字幕一区二区视频| 日韩午夜电影在线观看| 欧美综合天天夜夜久久| 99久久精品免费看国产免费软件| 国产酒店精品激情| 精品写真视频在线观看| 美女www一区二区| 日韩综合在线视频| 亚洲国产一二三| 亚洲国产精品影院| 亚洲综合免费观看高清完整版在线| 国产精品久久久久久久第一福利| 久久久久久久久岛国免费| 久久这里只有精品视频网| 欧美一级片在线看| 日韩欧美国产一区在线观看| 欧美一区二区三区的| 欧美大尺度电影在线| 日韩一区二区免费电影| 日韩一级片在线观看| 日韩一区二区电影| 日韩精品一区二区三区蜜臀| 欧美va日韩va| 久久久国际精品| 中文字幕第一区第二区| 国产精品电影院| 悠悠色在线精品| 日韩精品1区2区3区| 日韩福利视频导航| 久久 天天综合| 国产精品 日产精品 欧美精品| 国产精品 欧美精品| 99精品欧美一区二区三区综合在线| 91在线高清观看| 欧美日韩在线精品一区二区三区激情| 欧美在线视频全部完| 91精品国产综合久久婷婷香蕉 | 日韩美女精品在线| 一区二区三区国产豹纹内裤在线| 亚洲一区二区av电影| 亚洲乱码国产乱码精品精98午夜 | 福利视频网站一区二区三区| youjizz久久| 9191成人精品久久| 久久久久久99久久久精品网站| 国产精品久久看| 亚洲成在线观看| 国产成人在线视频网址| 91久久免费观看| 欧美本精品男人aⅴ天堂| 国产精品福利在线播放| 肉色丝袜一区二区| 丁香婷婷综合网| 欧美日韩国产天堂| 中文字幕欧美国产| 视频一区欧美日韩| 国产a级毛片一区| 555www色欧美视频| 亚洲欧洲av在线| 久久se精品一区精品二区| 97精品久久久午夜一区二区三区 | 在线看日韩精品电影| 精品国产亚洲在线| 一区二区三区国产豹纹内裤在线| 国产在线播放一区三区四| 欧美色倩网站大全免费| 国产精品丝袜一区|