⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 at91irq_asm_handler.lst

📁 ARM入门的好帮手.包含了从简单到相对较复杂的程序.
💻 LST
📖 第 1 页 / 共 5 页
字号:
        e59f1178 00000074  111	    LDR     a2, TIMER_PRIORITY              
        e3a02000 00000078  112	    MOV     a3, 0                           
        e5812000 0000007c  113	    STR     a3, [a2]                        
                           114	
                           115	    
                           116	    
        e59f2160 00000080  117	    LDR     a3, UNUSED_MEMORY               
        e5820000 00000084  118	    STR     a1, [a3]                        
                           119	
                           120	    
        e59f2118 00000088  121	    LDR     a3,=TC0_SOURCE_VECTOR           
        e59f1168 0000008c  122	    LDR     a2, TIMER_HANDLER               
        e5821000 00000090  123	    STR     a2, [a3]                        
        e59f2110 00000094  124	    LDR     a3,=TC0_SOURCE_MODE             
        e59f1110 00000098  125	    LDR     a2,=TX_TC0_IRQ_MODE             
        e5821000 0000009c  126	    STR     a2, [a3]                        
        e59f210c 000000a0  127	    LDR     a3,=0xFFFFF000                    
        e59f110c 000000a4  128	    LDR     a2,=TC0_IRQEN_BIT               
        e5821120 000000a8  129	    STR     a2, [a3, 0x120]             
        e59f2108 000000ac  130	    LDR     a3,=0xFFFE0000                    
        e59f1108 000000b0  131	    LDR     a2,=TX_TC0_MODE                 
        e5821004 000000b4  132	    STR     a2, [a3, 0x4]               
        e59f20fc 000000b8  133	    LDR     a3,=0xFFFE0000                    
        e59f10f4 000000bc  134	    LDR     a2,=TC0_IRQEN_BIT               
        e5821024 000000c0  135	    STR     a2, [a3, 0x24]               
        e59f20f0 000000c4  136	    LDR     a3,=0xFFFE0000                    
        e5921020 000000c8  137	    LDR     a2, [a3, 0x20]                
        e59f20e8 000000cc  138	    LDR     a3,=0xFFFE0000                    
        e3a01000 000000d0  139	    MOV     a2, 0                           
        e5821028 000000d4  140	    STR     a2, [a3, 0x28]               
        e59f20dc 000000d8  141	    LDR     a3,=0xFFFE0000                    
        e59f10d4 000000dc  142	    LDR     a2,=TC0_IRQEN_BIT               
        e582102c 000000e0  143	    STR     a2, [a3, 0x2c]               
        e59f20d0 000000e4  144	    LDR     a3,=0xFFFE0000                    
        e3a01000 000000e8  145	    MOV     a2, 0                           
        e5821010 000000ec  146	    STR     a2, [a3, 0x10]                
        e59f20c4 000000f0  147	    LDR     a3,=0xFFFE0000                    
        e59f10c8 000000f4  148	    LDR     a2,=TX_TICK_RATE                
        e582101c 000000f8  149	    STR     a2, [a3, 0x1c]                
        e59f20b8 000000fc  150	    LDR     a3,=0xFFFE0000                    
        e59f10c0 00000100  151	    LDR     a2,=0x1                    
        e5821000 00000104  152	    STR     a2, [a3, 0x0]               
        e59f10bc 00000108  153	    LDR     a2,=0x4                    
        e5821000 0000010c  154	    STR     a2, [a3]                        
                           155	
                           156	    
        e12fff1e 00000110  157	    RET                                     
                           158	
                           159	    .type _tx_initialize_low_level,$function
                           160	    .size _tx_initialize_low_level,.-_tx_initialize_low_level
                           161	
                           162	

                                   Wed Nov 15 14:33:47 2000           Page 17
                                   Wed Nov 15 14:33:48 2000   at91irq_asm_handler.paf.arm
                           163	
                           164	
                           165	
                           166	
                           167	
                           168	
                           169	
                           170	
                           171	
                           172	
                           173	
                           174	
                           175	
                           176	
                           177	
                           178	
                           179	
                           180	
                           181	
                           182	
                           183	    .globl  __tx_timer_handler
                           184	__tx_timer_handler:
        e92d000f 00000114  185	    STMDB   sp!, {a1-a4}                    
                           186	
                           187	    
        e1490000 00000118  188	    MRS     a1, SPSR                        
        e24ee004 0000011c  189	    SUB     lr, lr, 4                       
        e92d5401 00000120  190	    STMDB   sp!, {a1, sl, ip, lr}           
        ebfffffe 00000124  191	    BL      _tx_thread_context_save
                           192	
        e59f1084 00000128  193	    LDR     a2,=0xFFFFF000                    
        e3a02010 0000012c  194	    MOV     a3, TC0_IRQEN_BIT               
        e5812130 00000130  195	    STR     a3, [a2, 0x130]            
        e59f1080 00000134  196	    LDR     a2,=0xFFFE0000                    
        e5912020 00000138  197	    LDR     a3, [a2, 0x20]                
        ebfffffe 0000013c  198	    BL      _tx_timer_interrupt             
                           199	
                           200	    
        eafffffe 00000140  201	    B       _tx_thread_context_restore
                           202	
                           203	    .type __tx_timer_handler,$function
                           204	    .size __tx_timer_handler,.-__tx_timer_handler
                           205	
                           206	
                           207	
                           208	     .globl  __at91_usart0_handler
                           209	__at91_usart0_handler:
        e92d000f 00000144  210	    STMDB   sp!, {a1-a4}                    
        e1490000 00000148  211	    MRS     a1, SPSR                        
        e24ee004 0000014c  212	    SUB     lr, lr, 4                       
        e92d5401 00000150  213	    STMDB   sp!, {a1, sl, ip, lr}           
        ebfffffe 00000154  214	    BL      _tx_thread_context_save
                           215	
        e59f1054 00000158  216	    LDR     a2,=0xFFFFF000                    
        e5811130 0000015c  217	    STR     a2, [a2, 0x130]            
        e59f0068 00000160  218	    ldr     r0, =terminal_1		    

                                   Wed Nov 15 14:33:47 2000           Page 18
                                   Wed Nov 15 14:33:48 2000   at91irq_asm_handler.paf.arm
        ebfffffe 00000164  219	    bl      terminal_c_handler	    	    
                           220	
                           221	    
        eafffffe 00000168  222	    B       _tx_thread_context_restore
                           223	
                           224	   .type __at91_usart0_handler,$function
                           225	   .size __at91_usart0_handler,.-__at91_usart0_handler
                           226	
                           227	
                           228	
                           229	    .globl  __at91_irq0_handler
                           230	__at91_irq0_handler:
        e92d000f 0000016c  231	    STMDB   sp!, {a1-a4}                    
        e1490000 00000170  232	    MRS     a1, SPSR                        
        e24ee004 00000174  233	    SUB     lr, lr, 4                       
        e92d5401 00000178  234	    STMDB   sp!, {a1, sl, ip, lr}           
        ebfffffe 0000017c  235	    BL      _tx_thread_context_save
                           236	
        e59f102c 00000180  237	    LDR     a2,=0xFFFFF000                    
        e5811130 00000184  238	    STR     a2, [a2, 0x130]            
        ebfffffe 00000188  239	    bl      irq0_c_handler		    
                           240	
                           241	    
        eafffffe 0000018c  242	    B       _tx_thread_context_restore
                           243	
                           244	   .type __at91_irq0_handler,$function
                           245	   .size __at91_irq0_handler,.-__at91_irq0_handler
                           246	
                           247	
                           248	
                           249	    .globl  __tx_undefined
                           250	__tx_undefined:
        eafffffe 00000190  251	    B       __tx_undefined                  
                           252	
                           253	    .type __tx_undefined,$function
                           254	    .size __tx_undefined,.-__tx_undefined
                           255	
                           256	    .globl  __tx_swi_interrupt
                           257	__tx_swi_interrupt:
        eafffffe 00000194  258	    B       __tx_swi_interrupt              
                           259	
                           260	    .type __tx_swi_interrupt,$function
                           261	    .size __tx_swi_interrupt,.-__tx_swi_interrupt
                           262	
                           263	    .globl  __tx_prefetch_handler
                           264	__tx_prefetch_handler:
        eafffffe 00000198  265	    B       __tx_prefetch_handler           
                           266	
                           267	    .type __tx_prefetch_handler,$function
                           268	    .size __tx_prefetch_handler,.-__tx_prefetch_handler
                           269	
                           270	    .globl  __tx_abort_handler
                           271	__tx_abort_handler:
        eafffffe 0000019c  272	    B       __tx_abort_handler              
                           273	
                           274	    .type __tx_abort_handler,$function

                                   Wed Nov 15 14:33:47 2000           Page 19
                                   Wed Nov 15 14:33:48 2000   at91irq_asm_handler.paf.arm
                           275	    .size __tx_abort_handler,.-__tx_abort_handler
                           276	
                           277	    .globl  __tx_reserved_handler
                           278	__tx_reserved_handler:
        eafffffe 000001a0  279	    B       __tx_reserved_handler           
                           280	
                           281	    .type __tx_reserved_handler,$function
                           282	    .size __tx_reserved_handler,.-__tx_reserved_handler
                           283	
                           284	   .globl  __tx_fiq_handler
                           285	__tx_fiq_handler:
ea000028eafffffe 000001a4  286	    B       __tx_fiq_handler                
fffff010fffff090 000001ac
fffff00000000021 000001b4
fffe000000000010 000001bc
00008fff0000c001 000001c4
0000000400000001 000001cc
        00000000 000001d4
                           287	
                           288	    .type __tx_fiq_handler,$function
                           289	    .size __tx_fiq_handler,.-__tx_fiq_handler
                           290	
                           291	
                           292	SYS_STACK_PTR:
        00000000 000001d8  293	    .data.w _tx_thread_system_stack_ptr
                           294	FIQ_STACK_SIZE:
        00000200 000001dc  295	    .data.w 512                             
                           296	IRQ_STACK_SIZE:
        00000400 000001e0  297	    .data.w 1024                            
                           298	TIM_STACK_SIZE:
        00000400 000001e4  299	    .data.w 1024                            
                           300	UNUSED_MEMORY:
        00000000 000001e8  301	    .data.w _tx_initialize_unused_memory
                           302	TIMER_STACK:
        00000000 000001ec  303	    .data.w _tx_timer_stack_start
                           304	TIMER_STACK_SIZE:
        00000000 000001f0  305	    .data.w _tx_timer_stack_size
                           306	TIMER_PRIORITY:
        00000000 000001f4  307	    .data.w _tx_timer_priority
                           308	FREE_MEMORY:
        00000000 000001f8  309	    .data.w __ghsbegin_free_mem
                           310	TIMER_HANDLER:
        00000000 000001fc  311	    .data.w __tx_timer_handler
                           312	
                           313	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -