| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 132 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 132 Page - ATMEL Corporation |
|
132 / 181 page ![]() 132 32001A–AVR32–06/06 AVR32 9.5.4.2 Program Trace, Direct Branch with Target Address This message is transmitted instead of the Direct Branch message when SQA enhanced pro- gram trace is enabled by writing DC:SQA to one. This simplifies real-time PC reconstruction in the emulator for real-time code coverage and performance analysis purposes. 9.5.4.3 Program Trace, Indirect Branch An indirect branch is output by the target processor whenever there is a change of program flow caused by a subroutine call, return instruction, interrupt, or exception. Messages for taken indirect branches and exceptions include how many sequential bytes were executed since the last taken branch or exception, and the unique portion of the branch target address or exception vector address. The unique portion of the branch is found by doing an exclusively or on the branch target and the last sent UADDR / FADDR. Additionally, the cause of the indirect branch is identified through an Event ID packet. Operations causing indirect branches and their corresponding EVT-ID are shown below. Note that subrotine returns are often accomplished by a mov pc, lr, popm or ldm instruction with PC included in the argument list. This generates an EVT-ID of 0 instead of 1. Table 9-34. Direct Branch message without sync Direct Branch Message Direction: From target Packet Size (bits) Packet Name Packet Type Description 8 I-CNT Variable Number of bytes executed since the last taken branch. 6 TCODE Fixed Value = 3 Table 9-35. Direct Branch message with Target Address Direct Branch Message with Sync Direction: From target Packet Size (bits) Packet Name Packet Type Description 32 U-ADDR Variable The unique portion of the branch target address for a taken indirect branch or exception. Most significant bits that have a value of 0 are truncated. 8 I-CNT Variable Number of bytes executed since the last taken branch. 6 TCODE Fixed Value = 57 Table 9-36. Operations causing indirect branch messages Description Operation EVT-ID Exception entry Exception, interrupts (0 to 3), NMI, entry to Debug Mode 3 Subroutine call acall, icall, mcall, jcall, scall, rcall instruction 2 Branch via register contents Any mov (except mov pc, lr) or load (except popm/ldm) with PC as destination. Any arithmetic instruction with PC as destination. 1 Return ret{cond4}, rete, rets, retj, (mov pc, lr), popm/ldm loading PC 0 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |