Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ads problem
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
2939 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
ads problem
LI JUN
over 12 years ago
Note: This was originally posted on 26th April 2010 at
http://forums.arm.com
code:
void __irq IRQ_Timer(void)
{
[0xe92d503f] stmfd r13!,{r0-r5,r12,r14}
if((IO0PIN&U0)&&(T1IR&0x40))
[0xe59f39ac] [color="#FF0000"]ldr r3,0x0000132c ; = #0xe0028000[/color]
[0xe5930000] [color="#FF0000"]ldr r0,[r3,#0][/color]
[0xe3100b80] tst r0,#0x20000
[0xe59f099c] ldr r0,0x00001328 ; = #0x40000004
[0xe3a0c055] mov r12,#0x55
[0xe2431b80] [color="#FF0000"] sub r1,r3,#0x20000[/color]
[0x0a000014] beq 0x9e8 ; (IRQ_Timer + 0x74)
[0xe5912000] ldr r2,[r1,#0]
[0xe3120040] tst r2,#0x40
[0x0a000011] beq 0x9e8 ; (IRQ_Timer + 0x74)
ram data:
0x00001320 E000C000 E0034000 40000004 [color="#FF0000"]E0028000[/color]
0x00001330 00003092 00002710 40000044 000008D4
0x00001340 4000001C 40000000 00000974 000030A2
i have defined the[color="#FF0000"] T1IR [/color]and [color="#FF0000"]IO0PIN[/color] by macro,but i find the mcu gets the register address from ram , please look at the ram data.and i use the lpc2138.
please help me!
0
Quote