P. 1
ARM Handouts

ARM Handouts

Ratings:

4.0

(1)
|Views: 907|Likes:
Published by sundar

More info:

Published by: sundar on Sep 25, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

10/15/2011

pdf

text

original

 
1
TM
 
139v10 The ARM Architecture
Day 10 Agenda
Exceptions
System Design
Memory Interface
Synchronization
Input / Output
 
2
TM
 
239v10 The ARM Architecture
Vector Table
Exception Handling
When an exception occurs, the ARM:
Copies CPSR into SPSR_<mode>
Sets appropriate CPSR bits
Change to ARM state
Change to exception mode
Disable interrupts (if appropriate)
Stores the return address in LR_<mode>
Sets PC to vector address
To return, exception handler needs to:
Restore CPSR from SPSR_<mode>
Restore PC from LR_<mode>
This can only be done in ARM state.
Vector table can be at
0xFFFF0000
on ARM720Tand on ARM9/10 familydevices
FIQIRQ(Reserved)Data AbortPrefetch Abort
Software InterruptUndefined Instruction
Reset
0x1C0x180x140x100x0C0x080x040x00
 
3
TM
 
339v10 The ARM Architecture
PSR Mode Bit Values

Activity (17)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
sivar22 liked this
sivar22 liked this
andypara88 liked this
Priya Murthy liked this
aravindvrk1987 liked this
mohanavel126 liked this
genesis619 liked this
kishan1234 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->